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

RE: TortoiseProc diff for a specific revision and its ancestor

From: Dominik Psenner <dpsenner_at_gmail.com>
Date: Thu, 11 Aug 2011 11:37:58 +0200

>Please read the docs: TSVN commands do not use the url_at_peg syntax. You
>have to specify the peg revision separately: /pegrevision:xxx

Ok, I tried this:

F := url
N := a revision
M := N - 1
X := action
if X = deleted
  P := M
else
  P := N
/command:showcompare /url1:"F" /url2:"F" /revision1:M /revision2:N
/pegrevision:P

And it doesn't work for deleted or added files either, since the file of
either url1 or url2 doesn't exist at the revisions M or N and therefore the
peg revision algorithm can't work it out. I spent already too much time
tinkering with this problem and am going to surrender now. Hopefully 1.7
will bring a fix that simply works. :-)

If this one is the documentation you're referring to:

http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-automation.html

There's no mention about how the options "pegrevision", "ignoreancestry",
"blame" and "unified" have to be used. FWIW, this documentation could use a
little make-up, isn't it?

Best regards,
D.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-11 11:38:10 CEST

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