Mercurial > hg > mercurial-crew-with-dirclash
diff contrib/hgk.py @ 1308:2073e5a71008
Cleanup of tabs and trailing spaces.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 21 Sep 2005 07:56:19 +0200 |
parents | 6a0d373d3126 |
children | ca0e27e05de3 |
line wrap: on
line diff
--- a/contrib/hgk.py +++ b/contrib/hgk.py @@ -86,7 +86,7 @@ def difftree(ui, repo, node1=None, node2 for f in c: # TODO get file permissions - print ":100664 100664 %s %s M\t%s\t%s" % (hg.hex(mmap[f]), + print ":100664 100664 %s %s M\t%s\t%s" % (hg.hex(mmap[f]), hg.hex(mmap2[f]), f, f) for f in a: print ":000000 100664 %s %s N\t%s\t%s" % (empty, hg.hex(mmap2[f]), f, f) @@ -137,7 +137,7 @@ def catcommit(repo, n, prefix, changes=N committer = lines[-1].split(': ')[1].rstrip() else: committer = "%s %s %s" % (changes[1], date, date_ar[1]) - + print "author %s %s %s" % (changes[1], date, date_ar[1]) print "committer %s" % (committer) print "" @@ -220,7 +220,7 @@ def revtree(args, repo, full="tree", max yield (i + x, full != None and l[x] or None) if i == 0: break - + # calculate and return the reachability bitmask for sha def is_reachable(ar, reachable, sha): if len(ar) == 0: