# HG changeset patch # User mpm@selenic.com # Date 1124235026 28800 # Node ID 1458d20df2a8740317681473be23d5f71825fa46 # Parent fe69ecd3437cfc895e39e94cc36e0ef52330ed43 whitespace cleanup diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -453,7 +453,7 @@ class dirstate: unknown.append(x) else: ret[x] = self.map[x] - + if not unknown: return ret @@ -463,7 +463,7 @@ class dirstate: for x in unknown: bs = bisect.bisect(b, x) - if bs != 0 and b[bs-1] == x: + if bs != 0 and b[bs-1] == x: ret[x] = self.map[x] continue while bs < blen: @@ -485,7 +485,7 @@ class dirstate: dc = self.map.copy() elif not dc: dc = self.filterfiles(files) - + known = {'.hg': 1} def seen(fn): if fn in known: return True @@ -1081,7 +1081,7 @@ class localrepository: # So, for this graph: a->b->c->d->e # \ / # aa -----/ - # a has tag 2.6.12 + # a has tag 2.6.12 # d has tag 2.6.13 # e would have branch tags for 2.6.12 and 2.6.13. Because the node # for 2.6.12 can be reached from the node 2.6.13, that is eliminated