Commits

ZyX_I committed 1b46706

@aurum/drivers/mercurial: hg-git extension is named “git” in ubuntu

  • Participants
  • Parent commits 681042d

Comments (0)

Files changed (2)

File plugin/aurum/drivers/mercurial.vim

             \ 'nosvnrev': 'Failed to find revision in “hg svn info” output '.
             \             'in the repository %s. Output:%s',
             \ 'nohggitc': 'It appears that hg-git is not enabled '.
-            \             '(tried options extensions.hggit and '.
-            \              'extensions.hg-git)',
+            \             '(tried options extensions.hggit, extensions.hg-git '.
+            \              'and extensions.git)',
             \  'nohggit': 'It appears that hg-git is not installed '.
             \             '(importing GitHandler threw ImportError)',
         \}

File python/aurum.py

     try:
         repo=g_repo(path)
         hggitpath=None
-        for hggitname in ['hggit', 'hg-git']:
+        for hggitname in ['hggit', 'hg-git', 'git']:
             hggitpath=repo.ui.config('extensions', hggitname)
             if hggitpath is not None:
                 break