mercurial/commands.py
changeset 11169 3d0a9c8d7184
parent 11165 e8915e19205a
child 11173 5b48d819d5f9
--- a/mercurial/commands.py	Sun May 09 11:14:43 2010 +0200
+++ b/mercurial/commands.py	Wed May 12 15:40:58 2010 -0500
@@ -3243,7 +3243,7 @@
     """
 
     rev_ = "."
-    names = (name1,) + names
+    names = [t.strip() for t in (name1,) + names]
     if len(names) != len(set(names)):
         raise util.Abort(_('tag names must be unique'))
     for n in names: