You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Schroeder, Hartmut" <Ha...@plath.de> on 2012/02/02 11:28:50 UTC

problem getting files from history

Hi all,
say, a file exists in revision 100 and in HEAD-Revison:

svn list -r 100 http://server/svn/repo-global/trunk/a_file.txt
a_file.txt

svn list http://server/svn/repo-global/trunk/a_file.txt
a_file.txt

The file is deleted:

svn del http://server/svn/repo-global/trunk/a_file.txt
Committed revision 200

Now the file is not visible in r100 (it looks to the head):

svn list -r 100 http://server/svn/repo-global/trunk/a_file.txt
svn: '/svn/repo-global/!svn/bc/200/trunk/a_file.txt' path not found

But if get the folder:
svn export -r 100 http://server/svn/repo-global/trunk

the result is as expected.




Regards
Hartmut


Re: problem getting files from history

Posted by Ulrich Eckhardt <ul...@dominolaser.com>.
Am 02.02.2012 11:28, schrieb Schroeder, Hartmut:
> svn del http://server/svn/repo-global/trunk/a_file.txt
> Committed revision 200
>
> Now the file is not visible in r100 (it looks to the head):
>
> svn list -r 100 http://server/svn/repo-global/trunk/a_file.txt
> svn: '/svn/repo-global/!svn/bc/200/trunk/a_file.txt' path not found

SVN is looking at the given path @HEAD and from there goes back to 
revision 100. Since the file isn't present in HEAD, the first step 
fails. Take a look at the docs concerning "peg revisions" for a solition.

Uli

**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************