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

Re: Unified diff from show log fails on renamed file

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2006-02-06 12:25:41 CET

Stefan Küng wrote:
> Simon Large wrote:
>> Stefan Küng wrote:
>>> Simon Large wrote:
>>>> Hi Stefan,
>>>>
>>>> Just found this one
>>>> 1. Rename a file in TSVN, but don't commit
>>>> 2. Edit the same file
>>>> 3. Commit the folder
>>>> 4. Show log for the renamed file
>>>> 5. Try to get unified diff of the latest revision
>>>>
>>>> Unable to find repository location for
>>>> 'New_WC_Name' in revision N (latest - 1)
>>>>
>>>> svn diff -rN-1:N @N works OK (ish) although it may be having trouble
>>>> with the property diff.
>>>
>>> Hmm, with this recipe, I don't get an error but a fine diff.
>>> Are you sure that's the exact recipe to reproduce this?
>>
>> Amended recipe
>>
>> 1. Add two files fileA and fileB and commit folder
>> 2. Edit fileA and commit folder
>> 4. Rename and edit fileB, then commit folder
>> 5. Show log for fileB (not the folder)
>> 6. Unified diff of latest revision fails
>
> But with that, the CL client can't do the diff either:
>
> svn diff fileB_renamed.txt -r4:3
> svn diff fileB_renamed.txt@BASE -r4:3
> svn diff fileB_renamed.txt@4 -r4:3
>
> all fail. So what should TSVN do here?

Looks like I should report it on the svn list. It should always be
possible to diff somehow.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Feb 6 12:24:52 2006

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

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