diff mercurial/repair.py @ 10881:a685011ed38e

localrepo: add desc parameter to transaction All callers to localrepo.transaction() must supply a transaction description. The description and the existing repository tip are then stored (transactionally) into .hg/undo.desc; where rollback can later find it.
author Steve Borho <steve@borho.org>
date Fri, 09 Apr 2010 17:23:35 -0500
parents 25e572394f5c
children 4bb4895e1693
line wrap: on
line diff
--- a/mercurial/repair.py	Fri Apr 09 15:16:52 2010 +0200
+++ b/mercurial/repair.py	Fri Apr 09 17:23:35 2010 -0500
@@ -114,7 +114,7 @@
 
     mfst = repo.manifest
 
-    tr = repo.transaction()
+    tr = repo.transaction("strip")
     offset = len(tr.entries)
 
     tr.startgroup()