Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/localrepo.py @ 4217:3be4785f8994
tags: add --remove
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 14 Mar 2007 19:13:04 -0500 |
parents | 6c0be67c2b27 |
children | 5ccbc0be6cdb 24c22a3f2ef8 |
line wrap: on
line diff
--- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -328,7 +328,8 @@ class localrepository(repo.repository): self.tagscache = {} for k,nh in globaltags.items(): n = nh[0] - self.tagscache[k] = n + if n != nullid: + self.tagscache[k] = n self.tagscache['tip'] = self.changelog.tip() return self.tagscache