[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    RE: Custom diff3 command
From:       "Adam Downer" <adam.downer () ri3k ! com>
Date:       2011-07-26 13:04:11
Message-ID: 2CD1A73CF904E346A2B26E2B921FBE5B6F0271 () ri3kmx1 ! internal ! ri3k ! com
[Download RAW message or body]

Apologies, responded to wrong email L

 

From: Adam Downer 
Sent: 26 July 2011 14:03
To: Adam Downer; Arpe, Kevin C; users@subversion.apache.org
Subject: RE: Custom diff3 command

 

Nope, besides, it will be a suitable send off for Jira to cause you a
final bit of pain in using it J

 

From: Adam Downer [mailto:adam.downer@ri3k.com] 
Sent: 20 June 2011 16:39
To: Arpe, Kevin C; users@subversion.apache.org
Subject: RE: Custom diff3 command

 

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

 

Start here

http://svnbook.red-bean.com/en/1.5/svn.advanced.externaldifftools.html

 

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@jpmorgan.com] 
Sent: 20 June 2011 04:31
To: users@subversion.apache.org
Subject: Custom diff3 command

 

Hi,

 

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

Version string = svn, version 1.6.12 (r955767) / compiled Jun 21 2010,
16:00:59

 

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

Hongkong

 

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
http://www.jpmorgan.com/pages/disclosures/email. 


________________________________________________________________________

PLEASE NOTE THAT WE HAVE MOVED.
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


________________________________________________________________________

PLEASE NOTE THAT WE HAVE MOVED.
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


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" \
CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div \
class=WordSection1><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Apologies, \
responded to wrong email </span><span \
style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>L</span><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div \
style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p \
class=MsoNormal><b><span lang=EN-US \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span \
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Adam Downer \
<br><b>Sent:</b> 26 July 2011 14:03<br><b>To:</b> Adam Downer; Arpe, Kevin C; \
users@subversion.apache.org<br><b>Subject:</b> RE: Custom diff3 \
command<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Nope, \
besides, it will be a suitable send off for Jira to cause you a final bit of pain in \
using it </span><span \
style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div \
style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p \
class=MsoNormal><b><span lang=EN-US \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span \
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Adam Downer \
[mailto:adam.downer@ri3k.com] <br><b>Sent:</b> 20 June 2011 16:39<br><b>To:</b> Arpe, \
Kevin C; users@subversion.apache.org<br><b>Subject:</b> RE: Custom diff3 \
command<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You will \
need to write a wrapper script to perform this.<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Start \
here<o:p></o:p></span></p><p class=MsoNormal><a \
href="http://svnbook.red-bean.com/en/1.5/svn.advanced.externaldifftools.html">http://s \
vnbook.red-bean.com/en/1.5/svn.advanced.externaldifftools.html</a><o:p></o:p></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.<o:p></o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hope this \
sets you on the right track.<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Adam \
D<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div \
style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p \
class=MsoNormal><b><span lang=EN-US \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span \
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Arpe, Kevin C \
[mailto:Kevin.C.Arpe@jpmorgan.com] <br><b>Sent:</b> 20 June 2011 04:31<br><b>To:</b> \
users@subversion.apache.org<br><b>Subject:</b> Custom diff3 \
command<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p \
class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Hi,<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I am a Subversion \
command-line tools user on Windows XP.<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Version string \
= svn, version 1.6.12 (r955767) / compiled Jun 21 2010, \
16:00:59<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I wrote my own diff3 \
command batch file.&nbsp; We use it on my team to redirect merges thru \
KDiff3.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I have noticed the \
argument list is not very descriptive.&nbsp; I will follow GNU diff3 terminology: \
MYFILE, OLDFILE, YOURFILE.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Here are the arguments \
that my diff3 batch files receives:&nbsp; (These arguments seem to follow the GNU \
diff3 argument style.)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>1) \
-E<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>2) \
-m<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>3) \
-L<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>4) \
.working<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>5) \
-L<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>6) \
.merge-left.rOLD_REVISION<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>7) \
-L<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>8) \
.merge-right.rYOUR_REVISION<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>9) \
/full/path/to/MYFILE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>10) \
/full/path/to/OLDFILE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>11) \
/full/path/to/YOURFILE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>In the above argument \
list, the -L values are not descriptive enough.&nbsp; Can we add the filename as a \
prefix?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Example: .working -&gt; \
MYFILE.working<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Such that, if MYFILE = \
biglib.c, then .working -&gt; biglib.c.working<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Many \
thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Kevin Connor \
Arpe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Hongkong<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-US \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p><p><span \
style='color:black;background:white'>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 <a \
href="http://www.jpmorgan.com/pages/disclosures/email">http://www.jpmorgan.com/pages/disclosures/email</a>. \
</span><o:p></o:p></p><p \
class=MsoNormal><br>________________________________________________________________________<br><br>PLEASE \
NOTE THAT WE HAVE MOVED.<br>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.<br><br>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. <br><br>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.<br><br>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<o:p></o:p></p></div><BR> \
________________________________________________________________________<BR> <BR>
PLEASE NOTE THAT WE HAVE MOVED.<BR>
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.<BR> <BR>
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. <BR> <BR>
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.<BR> <BR>
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<BR> </body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic