changeset 677:f9c6a92e0566

nodetags: drop support for Mercurial < 1.6
author Siddharth Agarwal <sid0@fb.com>
date Wed, 19 Feb 2014 15:53:14 -0800
parents 4cb3515cefb0
children 73cf8d292dcb
files hggit/__init__.py
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/hggit/__init__.py
+++ b/hggit/__init__.py
@@ -143,13 +143,6 @@
     map(f.write, new_map)
     ui.status(_('git commit map cleaned\n'))
 
-# drop this when we're 1.6-only, this just backports new behavior
-def sortednodetags(orig, *args, **kwargs):
-    ret = orig(*args, **kwargs)
-    ret.sort()
-    return ret
-extensions.wrapfunction(localrepo.localrepository, 'nodetags', sortednodetags)
-
 def findcommonoutgoing(orig, repo, other, *args, **kwargs):
     if isinstance(other, gitrepo.gitrepo):
         heads = repo.githandler.get_refs(other.path)[0]