mercurial/repair.py
branchstable
changeset 33676 91f0677dc920
parent 33490 902fe63954a9
child 34264 2844c4bd5a39
--- a/mercurial/repair.py	Thu Sep 14 11:16:47 2017 -0700
+++ b/mercurial/repair.py	Thu Sep 14 11:16:57 2017 -0700
@@ -38,7 +38,7 @@
     totalhash = hashlib.sha1(''.join(allhashes)).hexdigest()
     name = "%s/%s-%s-%s.hg" % (backupdir, short(node), totalhash[:8], suffix)
 
-    cgversion = changegroup.safeversion(repo)
+    cgversion = changegroup.localversion(repo)
     comp = None
     if cgversion != '01':
         bundletype = "HG20"