[issue2658] hg.cmd in C:\PF\Mercurial\bin\ is wrong
bugs at mercurial.selenic.com
Thu Feb 24 13:45:55 CST 2011
New submission from Will West <will.o.west at gmail.com>:
rem launch hg.exe from parent folder
"%~dp0" means current working directory, not the directory containing the
currently executing command. Thus hg.cmd is a pretty lousy thing to have on
your PATH, and C:\PF\Mercurial\bin\ is added, not C:\PF\Mercurial\
If you run this:
cmd /c "hg status"
You get an error about how path/to/code/../hg.exe does not exist.
title: hg.cmd in C:\PF\Mercurial\bin\ is wrong
Mercurial issue tracker <bugs at mercurial.selenic.com>
More information about the Mercurial-devel