[PATCH] Tests with spaces in paths
Matt Mackall
mpm at selenic.com
Mon Mar 29 13:40:10 CDT 2010
On Wed, 2010-03-24 at 01:51 +0100, Mads Kiilerich wrote:
> mads at kiilerich.com wrote, On 03/24/2010 01:48 AM:
> > # HG changeset patch
> > # User Mads Kiilerich<mads at kiilerich.com>
> > # Date 1269391404 -3600
> > # Branch stable
> > # Node ID ea4b5ccfc558cb6bcacc7f5a08189ebc1a3f6dc6
> > # Parent 129e96f7a87aecffecc0aca9d32f4a84b609aa51
> > Tests with spaces in paths
> >
> > This allows most tests to succeed with
> > ./run-tests.py --tmpdir='/tmp/hg test'
> > and introduces other tests for spaces and shell quoting
> >
>
> This was meant for stable.
>
> Note that for example ui.patch, ui.editor, the bisect command, ssh
> command and HGMERGE are command line fragments and must be properly quoted.
As are hooks.
> The commands used for extdiff and "new" merge-tool configuration are
> however "executables" and will be quoted automatically, so command line
> fragments can not be used there.
The merge tool stuff lets you configure the command line separately.
> Is that intended? Should these (and similar) differences be fixed or
> documented?
How would you propose fixing it?
--
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial-devel
mailing list