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

Re: Branch 'invoke-diff-cmd-feature' is ready for half-way review

From: <roderich.schupp_at_gmail.com>
Date: Wed, 16 Oct 2013 02:47:17 -0700 (PDT)

On Wednesday, October 16, 2013 3:02:57 AM UTC+2, Gabriela Gibson wrote:
>
> The BRANCH-README file is here:
>

   Substitutions: ;f1 original file
                  ;f2 changed file

"svn help diff" uses "old" and "new" (instead of "original" and "changed")
to refer to these items.
Please stick to established usage.

   Examples: --invoke-diff-cmd="diff -y ;f1 ;f2"
      --invoke-diff-cmd="kdiff3 -auto -o /home/u/log \
        +;f1 ;l2 --L1 ;l1 --L2 "Custom Label" "
In the kdiff3 example the inner double quotes need to be escaped.

 The delimiter ';' can be escaped by adding a ';'

Though it's just a matter of taste, I don't know any precedent for using the semicolon as the "substitution introducer".
Several tools (e.g. GNU diff, GNU find) use the percent sign for this.

Cheers, Roderich
Received on 2013-10-16 11:48:04 CEST

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