[Distutils] equivalent of --tag-svn-revision for mercurial?

P.J. Eby pje at telecommunity.com
Fri Sep 10 16:04:49 CEST 2010


At 02:52 PM 9/10/2010 +0100, Chris Withers wrote:
>Hi All,
>
>Is there any equivalent of --tag-svn-revision for Mercurial?

Not really, since hg doesn't really have a serially increasing commit 
number.  There is a mercurial plugin for setuptools that supports 
versioning from tags, though:

    http://pypi.python.org/pypi/hgtools

With non-SVN source control, you're pretty much stuck using dates as 
pseudo-serial numbers. 



More information about the Distutils-SIG mailing list