Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 8150:bbc24c0753a0
util: use built-in set and frozenset
This drops Python 2.3 compatibility.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 22 Apr 2009 00:55:32 +0200 |
parents | 496ae1ea4698 |
children | 08e1baf924ca |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Apr 24 10:43:12 2009 +0200 +++ b/mercurial/commands.py Wed Apr 22 00:55:32 2009 +0200 @@ -1306,7 +1306,7 @@ heads = repo.heads(start, closed=closed) else: heads = [] - visitedset = util.set() + visitedset = set() for branchrev in branchrevs: branch = repo[branchrev].branch() if branch in visitedset: