[PATCH] extdiff: do not shell-quote options to new commands
TK Soh
teekaysoh at gmail.com
Fri Sep 8 14:10:48 UTC 2006
On 9/4/06, TK Soh <teekaysoh at gmail.com> wrote:
> On 9/5/06, Benoit Boissinot <bboissin at gmail.com> wrote:
> > On 9/4/06, TK Soh <teekaysoh at gmail.com> wrote:
> > > On 8/31/06, TK Soh <teekaysoh at yahoo.com> wrote:
> > > > I was having difficulty passing options to my wrapper script. It turns out that
> > > > shell-quoting the options forbit me from passing the options correctly to the script.
> > > >
> >
> > Can you describe the kind of problems you get ?
>
> See if this is enough to explain it.
>
> $ hg st
> M README
>
> $ hg debugconfig | grep udiff
> extdiff.opts.udiff=-Npr -u
> extdiff.cmd.udiff=diff
>
> $ hg --debug udiff
> making snapshot of 1 files from rev 5f96d9190303
> README
> making snapshot of 1 files from working dir
> README
> running "'diff' '-Npr -u' 'extdiff.5f96d9190303' 'extdiff'" in
> /tmp/extdiff.fwS_K7
> diff: invalid option --
> diff: Try `diff --help' for more information.
> cleaning up temp directory
Any comment?
More information about the Mercurial
mailing list