[darcs-devel] [issue1606] Extra space at the start of command line arguments with diff-command

David Burburan bugs at darcs.net
Fri Sep 11 08:11:34 UTC 2009


New submission from David Burburan <dburburan at gmail.com>:

Hi,

Darcs seems to be doing something odd with command line arguments - I think
it's adding a space before each one, though I haven't specifically confirmed
that.

In the darcs defaults file I have the following line:
ALL diff-command "C:\\Program Files\\WinMerge\\WinMergeU.exe" -r %1 %2

When I do a darcs diff, it launches winmerge, but winmerge is interpreting
the "-r" as a folder name instead of a switch. Winmerge doesn't do this if I
pass the same arguments manually on the command line.

After a bit of playing around I discovered the same behaviour by manually
passing " -r" (there's a space at the front), so I'm guessing that's the
problem

This is on windows with the following version:
darcs compiled on Feb 16 2009, at 15:01:44

Context:

[TAG 2.2.1
Petr Rockai <me at mornfall.net>**20090214071133
 Ignore-this: f4a1d192bc93490e498eed18c1165d8d
]

Regards,
David

----------
files: unnamed
messages: 8785
nosy: darcs-devel, dburburan, dmitry.kurochkin
status: unknown
title: Extra space at the start of command line arguments with diff-command

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1606>
__________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20090911/67d1654d/attachment.htm>


More information about the darcs-devel mailing list