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

Re: Is there a way to see a diff of a "replaced" file?

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Tue, 10 Sep 2013 10:49:07 -0500

On Mon, Sep 9, 2013 at 1:30 PM, Benjamin Fritz <fritzophrenic_at_gmail.com> wrote:
> I use "svn copy" to get files from tags of
> those various applications into this shared release directory.
>
> [snip]
>
> since the file shows as "Replaced" in the log, the diff goes back
> to the "copy from" address instead of the file at the current location
> (in the last revision). Normally, I want this. But in this case...is
> there a way to get a diff with the file that was replaced?

I asked this question also on the subversion users mailing list and
got the answer that this is the default behavior of 'svn diff':
http://article.gmane.org/gmane.comp.version-control.subversion.user/114864

I can confirm the command-line "svn diff" command lets me see the desired diff.

But when I double-click on the file in TSVN's "show log" view, my diff
viewer pops up with two binary-identical files. I don't see any
alternate options in the context menu, or checkboxes, or settings to
NOT show the ancestry. So is it possible in TSVN to get the diff
ignoring ancestry like the default behavior of "svn diff" on the
command-line?

I tried updating my working to revision 4543 (where the replacements
were made), and then right-clicked on the file in question. Choosing
"Diff with previous version..." just gives an error message:

[Window Title]
TortoiseSVN

[Main Instruction]
Subversion reported an error:

[Content]
Unable to find repository location for
'working/copy/path/here' in revision 4542

[Close]

This is in TSVN 1.7.12

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3064274

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-10 17:49:33 CEST

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

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