Mercurial > hg
diff hgext/hgk.py @ 3069:c6bfe536a1f9
hgk.py: fix for a bug introduced in 32fd512ca7c0
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 08 Sep 2006 00:56:37 +0200 |
parents | fbd3f9fd645d |
children | d0fcce3728d1 |
line wrap: on
line diff
--- 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) ##