[PATCH] Update setup.py to identify the version when not ran in a repository

Jeremy Whitlock jcscoobyrs at gmail.com
Fri Apr 3 11:48:11 CDT 2009


> That might be a tad risky: you never know which "mercurial" will come
> first in sys.path.  Might be safer to execfile("mercurial/util.py")
> and call the version() function that reads.

Yeah.  This is the old patch.  Sorry about the confusion.  You've
already commented on the other patch.

-- 
Take care,

Jeremy Whitlock
http://www.thoughtspark.org



More information about the Mercurial-devel mailing list