diff 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
line wrap: on
line diff
--- a/mercurial/localrepo.py	Wed Mar 14 18:49:10 2007 -0500
+++ b/mercurial/localrepo.py	Wed Mar 14 19:13:04 2007 -0500
@@ -328,7 +328,8 @@
         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