comparison mercurial/hg.py @ 385:e9e1efd5291c

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-----
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 17 Jun 2005 10:16:31 +0100
parents 4862a134e2c2
children 2fe8d66e3075 9294dce4b633
comparison
equal deleted inserted replaced
384:a29decbf7475 385:e9e1efd5291c
404 h = fl.heads() 404 h = fl.heads()
405 h.reverse() 405 h.reverse()
406 for r in h: 406 for r in h:
407 for l in fl.revision(r).splitlines(): 407 for l in fl.revision(r).splitlines():
408 if l: 408 if l:
409 n, k = l.split(" ") 409 n, k = l.split(" ", 1)
410 self.tagscache[k] = bin(n) 410 self.tagscache[k.strip()] = bin(n)
411 except KeyError: pass 411 except KeyError: pass
412 self.tagscache['tip'] = self.changelog.tip() 412 self.tagscache['tip'] = self.changelog.tip()
413 413
414 return self.tagscache 414 return self.tagscache
415 415