Commits

Brendan Cully committed 2e773ed

Prevent exception in incoming with hg <= 1.6

With this patch, incoming against a git repo returns "no changes found"
with hg <= 1.6.

  • Participants
  • Parent commits 2dcfd4b

Comments (0)

Files changed (1)

     def pushkey(self, namespace, key, old, new):
         return False
 
+    # used by incoming in hg <= 1.6
+    def branches(self, nodes):
+        return []
 
 instance = gitrepo