[PATCH] test-merge-tool: Make sure no hgmerge can be found in $PATH

Mads Kiilerich mads at kiilerich.com
Tue Feb 10 16:16:37 CST 2009


Matt Mackall wrote, On 02/10/2009 11:04 PM:
> Does this actually work? How does
>   

Yes, I think so, and the test works ...

> #!/usr/bin/env python
>
> ..in the first line of the hg script find Python in this case

Yes, because of

    vlog('# Making python executable in test path use correct Python')
    my_python = os.path.join(BINDIR, 'python')
    try:
        os.symlink(sys.executable, my_python)

/Mads

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3435 bytes
Desc: S/MIME Cryptographic Signature
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090210/cdd69f48/attachment.bin 


More information about the Mercurial-devel mailing list