diff options
-rw-r--r-- | egg-author.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/egg-author.py b/egg-author.py index 297bc04..b9d495a 100644 --- a/egg-author.py +++ b/egg-author.py @@ -157,7 +157,8 @@ def update_meta(ui, repo): 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)) |