[PATCH 1 of 3] run-tests: make runnable when --with-hg is set

Greg Ward greg-hg at gerg.ca
Wed Apr 22 13:56:03 CDT 2009


On Wed, Apr 22, 2009 at 7:24 AM, Martin Geisler <mg at lazybytes.net> wrote:
> Simon Heimberg <simohe at besonet.ch> writes:
>
>> # HG changeset patch
>> # User Simon Heimberg <simohe at besonet.ch>
>> # Date 1240384045 -7200
>> # Node ID 85abf8746a72d4398ff1dd3359824d2f178c7b48
>> # Parent  87a1605979e477dbf35b27b1e6b6e122db2c9fbf
>> run-tests: make runnable when --with-hg is set
>
> I believe Greg Ward is also looking into this right now, so maybe you
> two should coordinate?

Not right now.  I'm taking a break after the refactoring the other
day.  (And thanks for pushing that!)

> I would prefer that --with-hg takes the binary directly so that I can
> do --with-hg=~/bin/hg. Looking for a hg in PATH and supporting
> directories seems overkill, but maybe that is just me? :-)

I'm with Martin on this one.  I have never understood how --with-hg
was supposed to work.  I assumed "cd tests && ./run-tests
--with-hg=.." was what I wanted, but I was wrong.  I think "cd tests
&& ./run-tests --with-hg=../hg" makes total sense.  Or Martin's
"--with-hg=~/bin/hg" -- that makes sense too.

Greg



More information about the Mercurial-devel mailing list