Automatically add the path of hg to %PATH% on win32
Marco Barisione
barisione at gmail.com
Mon May 22 10:54:42 CDT 2006
Bryan O'Sullivan ha scritto:
> That's a very nice idea, thanks. What does this program do if there's
> already a version of Mercurial installed in some other directory, such
> as an earlier release? Which one does PATH end up containing?
add_path appends the path at the end of %PATH% (if the path is not
already in the variable).
So if another version is already installed in some other directory then
the other version if found before the new one.
If this is a problem I can add an "/prepend" command line argument that
prepends the path instead of appending it.
--
Marco Barisione
http://www.barisione.org/
More information about the Mercurial
mailing list