Mercurial > hg-stable
changeset 4113:b53c6f7dbb1f
Don't keep trailing white space in cvs tags
author | Edouard Gomez <ed.gomez@free.fr> |
---|---|
date | Wed, 21 Feb 2007 00:38:06 +0100 |
parents | 59de487f43d7 |
children | d5011e347476 |
files | contrib/convert-repo |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/convert-repo Wed Feb 21 00:38:06 2007 +0100 +++ b/contrib/convert-repo Wed Feb 21 00:38:06 2007 +0100 @@ -102,8 +102,8 @@ elif l.startswith("Author"): author = self.recode(l[8:-1]) elif l.startswith("Tag: "): - t = l[5:-1] - if t != "(none) ": + t = l[5:-1].rstrip() + if t != "(none)": self.tags[t] = id elif l.startswith("Log:"): state = 1