hgext/hgk.py
changeset 24515 c1fe7111b6bb
parent 24514 d01c767d8753
child 24517 c2c1ce5e6db1
--- a/hgext/hgk.py	Sat Mar 28 21:24:57 2015 +0100
+++ b/hgext/hgk.py	Sat Mar 28 21:33:47 2015 +0100
@@ -301,22 +301,6 @@
                 break
             count += 1
 
-@command('debug-rev-parse',
-    [('', 'default', '', _('ignored'))],
-    _('REV'))
-def revparse(ui, repo, *revs, **opts):
-    """parse given revisions"""
-    def revstr(rev):
-        if rev == 'HEAD':
-            rev = 'tip'
-        return revlog.hex(repo.lookup(rev))
-
-    for r in revs:
-        revrange = r.split(':', 1)
-        ui.write('%s\n' % revstr(revrange[0]))
-        if len(revrange) == 2:
-            ui.write('^%s\n' % revstr(revrange[1]))
-
 # git rev-list tries to order things by date, and has the ability to stop
 # at a given commit without walking the whole repo.  TODO add the stop
 # parameter