[PATCH 3 of 3] run-tests: expand user in --with-hg

Matt Mackall mpm at selenic.com
Fri Jan 20 12:02:58 CST 2012


On Fri, 2012-01-20 at 11:02 +0100, Martin Geisler wrote:
> Mads Kiilerich <mads at kiilerich.com> writes:
> 
> > # HG changeset patch
> > # User Mads Kiilerich <mads at kiilerich.com>
> > # Date 1326502587 -3600
> > # Branch stable
> > # Node ID ca731266b782d472916d1fcff4a65143af446b04
> > # Parent  cea92143d7a2f40d0e028a1bad546959308c47b0
> > run-tests: expand user in --with-hg
> >
> > This makes it possible to run:
> >   $ ./run-tests.py --with-hg=~/hg-bin/hg
> >
> > diff --git a/tests/run-tests.py b/tests/run-tests.py
> > --- a/tests/run-tests.py
> > +++ b/tests/run-tests.py
> > @@ -200,6 +200,7 @@
> >          options.pure = True
> >  
> >      if options.with_hg:
> > +        options.with_hg = os.path.expanduser(options.with_hg)
> 
> Looks good, and I think you should just push it.

Indeed, but since it's not in incoming I've gone ahead and queued it
myself.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list