Mercurial > hg
diff mercurial/tags.py @ 9312:c5f0825c1dbb
kill trailing whitespace
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 05 Aug 2009 17:08:28 +0200 |
parents | 4017291c4c48 |
children | 9ff178e7b627 |
line wrap: on
line diff
--- a/mercurial/tags.py Wed Aug 05 15:00:44 2009 +0200 +++ b/mercurial/tags.py Wed Aug 05 17:08:28 2009 +0200 @@ -210,7 +210,7 @@ # have no <tagnode>. The cache is ordered from tip to oldest (which # is part of why <headrev> is there: a quick visual check is all # that's required to ensure correct order). - # + # # This information is enough to let us avoid the most expensive part # of finding global tags, which is looking up <tagnode> in the # manifest for each head. @@ -243,9 +243,8 @@ return (None, None, tags, False) if cachefile: cachefile.close() # ignore rest of file - + repoheads = repo.heads() - # Case 2 (uncommon): empty repo; get out quickly and don't bother # writing an empty cache. if repoheads == [nullid]: