changeset ced0f284e3e0 in tryton-tools:default
details: https://hg.tryton.org/tryton-tools?cmd=changeset;node=ced0f284e3e0
description:
        Make Python3 compatible
diffstat:

 hgbranch.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 896eb3bbc186 -r ced0f284e3e0 hgbranch.py
--- a/hgbranch.py       Sun Jan 26 15:44:15 2020 +0100
+++ b/hgbranch.py       Sun Jan 26 15:44:33 2020 +0100
@@ -12,7 +12,7 @@
             'hook should be pretxncommit/pretxnchangegroup not "%s".' %
             hooktype)
 
-    for rev in xrange(repo[node].rev(), len(repo)):
+    for rev in range(repo[node].rev(), len(repo)):
         ctx = repo[rev]
         branch = ctx.branch()
         if not BRANCH_PATTERN.match(branch):

Reply via email to