Commits

Peter Bex committed 600d0ed

Fix error situation when there are no hgtags. Python is dumb...

Comments (0)

Files changed (1)

 
     meta_file = _find_egg_info_file(repo, 'meta')
     files = repo.status(clean=True)[6:][0]
-    files.remove('.hgtags')
+    if '.hgtags' in files:
+        files.remove('.hgtags')
 
     # A list without the parens around it
     files_list = ' '.join(map(_to_scheme_string, files))