Mercurial > hg-stable
changeset 11169:3d0a9c8d7184
tag: strip whitespace from tag names (issue2174)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 12 May 2010 15:40:58 -0500 |
parents | 6d0d945f9e52 |
children | e9226eb3af2a |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: