contrib/synthrepo.py
changeset 32291 bd872f64a8ba
parent 29841 d5883fd055c6
child 32337 46ba2cdda476
--- a/contrib/synthrepo.py	Sat May 06 04:51:25 2017 +0530
+++ b/contrib/synthrepo.py	Fri Feb 10 16:56:29 2017 -0800
@@ -71,7 +71,7 @@
 cmdtable = {}
 command = cmdutil.command(cmdtable)
 
-newfile = set(('new fi', 'rename', 'copy f', 'copy t'))
+newfile = {'new fi', 'rename', 'copy f', 'copy t'}
 
 def zerodict():
     return collections.defaultdict(lambda: 0)
@@ -336,7 +336,7 @@
     wlock = repo.wlock()
     lock = repo.lock()
 
-    nevertouch = set(('.hgsub', '.hgignore', '.hgtags'))
+    nevertouch = {'.hgsub', '.hgignore', '.hgtags'}
 
     progress = ui.progress
     _synthesizing = _('synthesizing')