comparison hgext/convert/subversion.py @ 5274:694eb9ccb54d

convert/subversion: Use util.set() instead of set() for python2.3 compatibility
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 31 Aug 2007 13:14:03 +0200
parents 585471802a01
children c6f932d3e0f6
comparison
equal deleted inserted replaced
5273:4287590a63af 5274:694eb9ccb54d
312 """Avoid certain revision numbers. 312 """Avoid certain revision numbers.
313 It is not uncommon for two nearby revisions to cancel each other 313 It is not uncommon for two nearby revisions to cancel each other
314 out, e.g. 'I copied trunk into a subdirectory of itself instead 314 out, e.g. 'I copied trunk into a subdirectory of itself instead
315 of making a branch'. The converted repository is significantly 315 of making a branch'. The converted repository is significantly
316 smaller if we ignore such revisions.""" 316 smaller if we ignore such revisions."""
317 self.blacklist = set() 317 self.blacklist = util.set()
318 blacklist = self.blacklist 318 blacklist = self.blacklist
319 for line in file("blacklist.txt", "r"): 319 for line in file("blacklist.txt", "r"):
320 if not line.startswith("#"): 320 if not line.startswith("#"):
321 try: 321 try:
322 svn_rev = int(line.strip()) 322 svn_rev = int(line.strip())