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

Cannot diff after file rename

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2006-02-06 23:48:42 CET

Hi folks,

Having renamed and modified a file in the same commit, I am unable to
diff the current revision against the previous one using its new name.
Am I missing something obvious, or is this a bug? Using svn 1.3.0.

Recipe attached (Windows batch file I'm afraid).

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org

if exist repos rd /s/q repos
if exist wc rd /s/q wc
md repos
md wc
svnadmin create repos
:: Sorry about the absolute path here
svn co file:///c:/temp/diffbug/repos wc
cd wc
echo TestA > TestA.txt
echo TestB > TestB.txt
svn add TestA.txt TestB.txt
svn ci -m "r1" .
echo Changed >> TestA.txt
svn ci -m "r2" .
svn mv TestB.txt TestB-New.txt
echo Renamed >> TestB-New.txt
svn ci -m "r3" .
:: These all fail - how do I diff these 2 revs?
svn diff TestB-New.txt -r3:2
svn diff TestB-New.txt@BASE -r3:2
svn diff TestB-New.txt@3 -r3:2

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 6 23:47:56 2006

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