##// END OF EJS Templates
tag: strip whitespace from tag names (issue2174)
Matt Mackall -
r11169:3d0a9c8d default
parent child Browse files
Show More
@@ -3243,7 +3243,7 b' def tag(ui, repo, name1, *names, **opts)'
3243 """
3243 """
3244
3244
3245 rev_ = "."
3245 rev_ = "."
3246 names = (name1,) + names
3246 names = [t.strip() for t in (name1,) + names]
3247 if len(names) != len(set(names)):
3247 if len(names) != len(set(names)):
3248 raise util.Abort(_('tag names must be unique'))
3248 raise util.Abort(_('tag names must be unique'))
3249 for n in names:
3249 for n in names:
General Comments 0
You need to be logged in to leave comments. Login now