Hi,

I was wondering whether "-r REV SRC" and "SRC@REV" in "svn copy" are
supposed to behave differently or not.

I was trying to recover a file that has already been deleted from the
repository, but using "-r" syntax failed to work while @REV completed
successfully:

> svn copy -r 10 ^/trunk/path/to/my/file.txt .
svn: E160013: '/repository/name/!svn/bc/25/trunk/path/to/my/file.txt'
path not found
> svn copy ^/trunk/path/to/my/file.txt@10 .
A         /here/file.txt

On the other hand, if the file still exists, the "-r REV" syntax works
just fine and copies the old file (revision 10 in the above example).
Is this expected?

I'm using SVN 1.8.5 (and also tried with the trunk version which
behaves the same), while the server uses SVN 1.6.11.

Mojca

(PS: If necessary I can provide real URLs.)

Reply via email to