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

Question on diff across directory copies

From: Christian Daudt <csd_ob_at_daudt.org>
Date: 2003-06-09 23:22:17 CEST

Hi,
 When I do a diff of a checked out directory (that at some point in the past
was "cp"ed from somewhere else) against a revision from before the "cp"
ocurred, it fails, like this example:

svn mkdir dir1
echo "line1" >>dir1/file1
svn commit
echo "line2" >>dir1/file1
svn commit
svn cp dir1 dir2
cd dir2
svn diff -r <rev-where-file1-was-first-created>

fails complaining that
svn: Filesystem has no item
svn: file not found: revision `3', path `/base/dir2'

but if I manually do it, providing all of the info it works:
svn diff <BASE>/dir1/file1@<rev-where-file1-was-first-created>
<BASE>/dir2/file1

returns what I was expecting. Is this limited this way by design, or is it
work-yet-to-be-done ?

 thanks,
   csd

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 9 23:24:21 2003

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

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