mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
Whitespace cleanups
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Whitespace cleanups manifest hash: ac954bc3a4f034c12638a259ecd65841f5b63c5c -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCwuubywK+sNU5EO8RAluIAJ98XQpNdZUpSmYKgDmrMRlbL76ZzQCfes0t rknNUN/PhtyA4bzL646dOz4= =UyCE -----END PGP SIGNATURE-----
This commit is contained in:
parent
1e42f2bba3
commit
0fb5db6915
@ -151,7 +151,6 @@ class revlog:
|
||||
self.nodemap = dict(m)
|
||||
self.nodemap[nullid] = -1
|
||||
|
||||
|
||||
def tip(self): return self.node(len(self.index) - 1)
|
||||
def count(self): return len(self.index)
|
||||
def node(self, rev): return (rev < 0) and nullid or self.index[rev][6]
|
||||
|
@ -84,4 +84,3 @@ class ui:
|
||||
t = re.sub("(?m)^HG:.*\n", "", t)
|
||||
|
||||
return t
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user