diff hgext/histedit.py @ 37016:17692fefc8f2

repair: rename _backup to backupbundle A future commit will introduce a caller from outside the module. The function should have already been public because histedit was calling it. Differential Revision: https://phab.mercurial-scm.org/D2666
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 04 Mar 2018 10:34:09 -0500
parents 2987726085c6
children f0b6fbea00cf
line wrap: on
line diff
--- a/hgext/histedit.py	Mon Mar 19 22:10:40 2018 +0900
+++ b/hgext/histedit.py	Sun Mar 04 10:34:09 2018 -0500
@@ -1317,8 +1317,8 @@
     # Create a backup so we can always abort completely.
     backupfile = None
     if not obsolete.isenabled(repo, obsolete.createmarkersopt):
-        backupfile = repair._bundle(repo, [parentctxnode], [topmost], root,
-                                    'histedit')
+        backupfile = repair.backupbundle(repo, [parentctxnode],
+                                         [topmost], root, 'histedit')
     state.backupfile = backupfile
 
 def _getsummary(ctx):