Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/localrepo.py @ 4213:3be4785f8994
tags: add --remove
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 14 Mar 2007 19:13:04 -0500 |
parents | 6c0be67c2b27 |
children | 5ccbc0be6cdb 24c22a3f2ef8 |
comparison
equal
deleted
inserted
replaced
4212:6c0be67c2b27 | 4213:3be4785f8994 |
---|---|
326 pass | 326 pass |
327 | 327 |
328 self.tagscache = {} | 328 self.tagscache = {} |
329 for k,nh in globaltags.items(): | 329 for k,nh in globaltags.items(): |
330 n = nh[0] | 330 n = nh[0] |
331 self.tagscache[k] = n | 331 if n != nullid: |
332 self.tagscache[k] = n | |
332 self.tagscache['tip'] = self.changelog.tip() | 333 self.tagscache['tip'] = self.changelog.tip() |
333 | 334 |
334 return self.tagscache | 335 return self.tagscache |
335 | 336 |
336 def _hgtagsnodes(self): | 337 def _hgtagsnodes(self): |