[qsync] fix: 'newerversion' expect node id, not hexid
authorDavid Douard <david.douard@logilab.fr>
Mon, 11 Jun 2012 11:59:08 +0200
changeset 289 9bb4217ddfce
parent 260 fd3db1e6b7a3
child 290 dd8c75df66e3
child 291 d508e5dd0a11
[qsync] fix: 'newerversion' expect node id, not hexid
hgext/qsync.py
--- 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: