changeset 289:9bb4217ddfce

[qsync] fix: 'newerversion' expect node id, not hexid
author David Douard <david.douard@logilab.fr>
date Mon, 11 Jun 2012 11:59:08 +0200
parents fd3db1e6b7a3
children dd8c75df66e3 d508e5dd0a11
files hgext/qsync.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/qsync.py	Wed Jun 06 16:13:44 2012 +0200
+++ b/hgext/qsync.py	Mon Jun 11 11:59:08 2012 +0200
@@ -75,7 +75,7 @@
     applied_list = []
     if review:
         olddata = get_old_data(parent)
-        oldfiles = dict([(name, ctxhex) for ctxhex, name in olddata])
+        oldfiles = dict([(name, bin(ctxhex)) for ctxhex, name in olddata])
 
         for patch_name in touched:
             try: