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

RE: Feature request: svn diff --diff-cmd --diff-cmd-args

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2006-08-14 08:29:01 CEST

Quoth Liu Yubao <mailto:yubao.liu@gmail.com>:
> yes, it works, but I can't add it to %home%/Application
> Data/Subversion/ config (I tried " x = -xyz", it had no
> effect), so I have to offer this option every time. Anyway, I
> can use --diff-cmd=diff_wrapper to work around it.

Now you're talking about something else.

> --diff-cmd="diff -ubB" won't break --diff-cmd="diff", isn't it more
> elegant than the redundant -x option?

Yes, it will break it.

Imagine a script that currently has:

  --diff-cmd="C:\Foo Toolkit\Super Diff.exe"
  --diff-cmd="/usr/local/bin/super diff"
(although it's less common to have spaces in filenames under Linux, it
is legal.)

There's no way you can add space-separated parsing to that parameter
without breaking this script.

A separate parameter (currently -x) is not redundant, it is essential.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 14 08:30:07 2006

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.