Commits

Anonymous committed fbcb1f3

Remove hard dependency for Mercurial.

  • Participants
  • Parent commits e48db18

Comments (0)

Files changed (1)

transifex/txcommon/__init__.py

 import os
-from mercurial import hg, ui
 
 version_info = (1, 0, 0, 'devel')
 
 version = '.'.join(str(v) for v in version_info[:3]) + _verpart
 
 try:
+    from mercurial import hg, ui
     # Take the revision of the updated/working none/changeset
     revision = 'r%s' % hg.repository(ui.ui(),
         __file__.split('/transifex/txcommon')[0])[None].parents()[0].rev()