# HG changeset patch # User Benoit Boissinot # Date 1157669797 -7200 # Node ID c6bfe536a1f9fa06d99a40fc131a8019c2c0898a # Parent fbd3f9fd645ddbb9074cf802be1950caeffa28cb hgk.py: fix for a bug introduced in 32fd512ca7c0 diff -r fbd3f9fd645d -r c6bfe536a1f9 hgext/hgk.py --- a/hgext/hgk.py Thu Sep 07 14:13:01 2006 +0200 +++ b/hgext/hgk.py Fri Sep 08 00:56:37 2006 +0200 @@ -25,7 +25,7 @@ change = repo.changelog.read(node1) mmap = repo.manifest.read(change[0]) - empty = hg.nullid + empty = hg.short(hg.nullid) for f in modified: # TODO get file permissions @@ -33,12 +33,12 @@ hg.short(mmap2[f]), f, f) for f in added: - print ":000000 100664 %s %s N\t%s\t%s" % (hg.short(nullid), + print ":000000 100664 %s %s N\t%s\t%s" % (empty, hg.short(mmap2[f]), f, f) for f in removed: print ":100664 000000 %s %s D\t%s\t%s" % (hg.short(mmap[f]), - hg.short(nullid), + empty, f, f) ##