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

svn copy from revision with spaces in directory name

From: Probst, Martin <martin.probst_at_sap.com>
Date: 2004-10-14 14:15:36 CEST

Hi,
I've run into a problem today when trying to "Resurrect" a deleted directory. The directory was deleted in revision 961 (as reported by svn log) and following the manual from http://svnbook.red-bean.com/svnbook-1.0/svn-book.html#svn-ch-4-sect-4.3 I tried copying the older revision 960 to the current path:

$ svn cp --revision 960 "https://svnserver.mydomain.test/svn/trunk/foo/funky%20dir" .
svn: Path 'https://svnserver.mydomain.test/svn/trunk/foo/funky%20dir' not found in revision '960'

Which is definetly incorrect, checking out that directory in rev 960 gives the directory, viewcvs reports that directory, svn log shows it's existance and it's deletion in rev 961. Last commit to it was in rev 950 btw but using that revision doesn't fix the problem.

I've tried around some time with spaces, quotes, trailing slashes, single files from the directory etc., but it didn't help. Then I tried to do the very same thing to a directory containing no space it worked:
$ svn cp --revision 960 "https://svnserver.mydomain.test/svn/trunk/foo/funkydir" .
A funkydir/file1
A funkydir/file2
A funkydir/file3
A funkydir/file4
[...]

It might be important to note that in the revision 960 two directories, on with spaces, one without, existed beneath each other in that directory:
r960:
foo/
  funkydir
  funky dir

In revision 961 it looks like this (someone erroneously deleted both directories and added a "src" directory):
r961:
foo/
  src

And I'm trying to achieve this:
foo/
  src
  funky dir

I've tried searching the issue tracker and issue 1694 (http://subversion.tigris.org/issues/show_bug.cgi?id=1694) looks somewhat similar to this issue, but I'm not sure. Is this a bug or am I doing something wrong?

mfg
Martin Probst

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 14 14:16:09 2004

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.