rmoch avatar rmoch committed eb46412


Comments (0)

Files changed (1)


-__version__ = '0.1'
+# -*- coding: utf-8 -*-
-def get_mercurial_version():
-    import os
-    path = os.path.join(__path__[0], os.pardir)
-    try:
-        from mercurial.hg import repository
-        from mercurial.ui import ui
-        from mercurial import node, error
-        repo = repository(ui(), path)
-    except:
-        return None
-    tip = repo.changelog.tip()
-    rev = repo.changelog.rev(tip)
-    return '%s.dev%d' % (__version__, rev)
-def get_version():
-    return get_mercurial_version()
+__version__ = '1.0.0'
+__author__ = 'Richard Moch <richard@rootsaka.com>'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.