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

Diff with previous version

From: VTGroup <jay_at_vtgroup.com>
Date: Thu, 2 Jun 2011 12:51:43 -0700 (PDT)

My Tortoise context menu provides a "Diff with previous version" option,
which generates exactly the diff I need. However, when I try to script the
same functionality, I get different behavior.

"Diff with previous version" shows the on-disk copy of my file in the right
pane (called "Working copy"), and the previous revision in the left pane
(called "Revision 68"), so I see the differences I'm looking for.

However, when I try to simulate this from the command line (TortoiseProc
/command:diff /path:MyFile.java), I see the same right pane, but "Revision
69" in the left pane, so there are no differences.

How do I perform the "Diff with previous version" command with TortoiseProc,
by using command parameters, etc.? If there is no way, is there a way to do
it with a pure command-line SVN package?

I'm trying to genericize this diff, so I can add a hook to my text editor to
show the diff between the current version and previous version of any file,
without having to know the exact version numbers of the file selected.

-- 
View this message in context: http://old.nabble.com/Diff-with-previous-version-tp31760507p31760507.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2756182
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-06-02 21:52:48 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.