Fixed problems with extra spaces around tags in .hgtags
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Fixed problems with extra spaces around tags in .hgtags
manifest hash:
2a40f403d5d7d9c4d39e52fa6edefa74d5797167
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCspTvW7P1GVgWeRoRAg9PAJ9OWdUii+qO+U5ioaAbkFeIROA/7gCdGgau
ZP8jmI1h95ZK3KS/QlQMeQ4=
=lRFd
-----END PGP SIGNATURE-----
--- a/mercurial/hg.py Thu Jun 16 22:54:37 2005 -0800
+++ b/mercurial/hg.py Fri Jun 17 10:16:31 2005 +0100
@@ -406,8 +406,8 @@
for r in h:
for l in fl.revision(r).splitlines():
if l:
- n, k = l.split(" ")
- self.tagscache[k] = bin(n)
+ n, k = l.split(" ", 1)
+ self.tagscache[k.strip()] = bin(n)
except KeyError: pass
self.tagscache['tip'] = self.changelog.tip()