[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

difference between svn copy -r REV SRC and SRC@REV

From: Mojca Miklavec <mojca.miklavec.lists_at_gmail.com>
Date: Wed, 15 Jan 2014 22:05:04 +0100

Hi,

I was wondering whether "-r REV SRC" and "SRC_at_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_at_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.)
Received on 2014-01-15 22:06:05 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.