diff hgext/convert/hg.py @ 21634:23b24d6a70c8

convert: rename sink hascommit to hascommitforsplicemap The name 'hascommit' sounds like something generic ... but it might also throw exceptions in specific cases and it is thus (apparently) only useful for splicemap.
author Mads Kiilerich <madski@unity3d.com>
date Mon, 19 May 2014 22:11:14 +0200
parents 6b8daeea638a
children 5f2cc464e502
line wrap: on
line diff
--- a/hgext/convert/hg.py	Mon May 19 22:10:50 2014 +0200
+++ b/hgext/convert/hg.py	Mon May 19 22:11:14 2014 +0200
@@ -253,7 +253,7 @@
             destmarks[bookmark] = bin(updatedbookmark[bookmark])
         destmarks.write()
 
-    def hascommit(self, rev):
+    def hascommitforsplicemap(self, rev):
         if rev not in self.repo and self.clonebranches:
             raise util.Abort(_('revision %s not found in destination '
                                'repository (lookups with clonebranches=true '