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

RE: Custom diff3 command

From: Adam Downer <adam.downer_at_ri3k.com>
Date: Mon, 20 Jun 2011 16:39:23 +0100

You will need to write a wrapper script to perform this.


Start here



and configure your subversion to kick off your custom wrapper.
Manipulate the passed in args as you want them and output them to your
diff prog.


Hope this sets you on the right track.


Adam D


From: Arpe, Kevin C [mailto:Kevin.C.Arpe_at_jpmorgan.com]
Sent: 20 June 2011 04:31
To: users_at_subversion.apache.org
Subject: Custom diff3 command




I am a Subversion command-line tools user on Windows XP.

Version string = svn, version 1.6.12 (r955767) / compiled Jun 21 2010,


I wrote my own diff3 command batch file. We use it on my team to
redirect merges thru KDiff3.

I have noticed the argument list is not very descriptive. I will follow
GNU diff3 terminology: MYFILE, OLDFILE, YOURFILE.


Here are the arguments that my diff3 batch files receives: (These
arguments seem to follow the GNU diff3 argument style.)

1) -E

2) -m

3) -L

4) .working

5) -L

6) .merge-left.rOLD_REVISION

7) -L

8) .merge-right.rYOUR_REVISION

9) /full/path/to/MYFILE

10) /full/path/to/OLDFILE

11) /full/path/to/YOURFILE


In the above argument list, the -L values are not descriptive enough.
Can we add the filename as a prefix?


Example: .working -> MYFILE.working

Such that, if MYFILE = biglib.c, then .working -> biglib.c.working


Many thanks,

Kevin Connor Arpe



This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of securities,
accuracy and completeness of information, viruses, confidentiality,
legal privilege, and legal entity disclaimers, available at


Our new address is 4th Floor, Dashwood House, 69 Old Broad Street, London, EC2M 1QS. Our new telephone number is +44 (0) 20 3535 8300.

This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments.

Although RI3K believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and RI3K does not accept any responsibility for any loss or damage in any way from its use.

RI3K Limited is a company registered in England no: 3909745. Registered office 4th Floor, Dashwood House, 69 Old Broad Street, London, EC2M 1QS. VAT registration no: 769 0192 07
Received on 2011-06-20 17:39:58 CEST

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

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