[PATCH 5 of 5] transaction: set backupentries version to proper value

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Nov 13 17:39:21 CST 2014


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1415877456 0
#      Thu Nov 13 11:17:36 2014 +0000
# Node ID 8cec32819854344d57f0a39c786494ce0bfc2b5a
# Parent  9f78cb8b801097375968fa94568f7cebcc7e37ea
transaction: set backupentries version to proper value

Now that all mechanisms are in place, we can advertise it a proper new version.

diff --git a/mercurial/transaction.py b/mercurial/transaction.py
--- a/mercurial/transaction.py
+++ b/mercurial/transaction.py
@@ -13,11 +13,11 @@
 
 from i18n import _
 import errno
 import error, util
 
-version = 0
+version = 2
 
 def active(func):
     def _active(self, *args, **kwds):
         if self.count == 0:
             raise error.Abort(_(


More information about the Mercurial-devel mailing list