diff mercurial/localrepo.py @ 7814:4421abf8c85d

tag: force load of tag cache
author Matt Mackall <mpm@selenic.com>
date Mon, 02 Mar 2009 19:19:09 -0600
parents 6d99ff7b79b5
children 89e05c02a4af
line wrap: on
line diff
--- a/mercurial/localrepo.py	Fri Feb 27 19:10:38 2009 +0100
+++ b/mercurial/localrepo.py	Mon Mar 02 19:19:09 2009 -0600
@@ -227,6 +227,7 @@
                 raise util.Abort(_('working copy of .hgtags is changed '
                                    '(please commit .hgtags manually)'))
 
+        self.tags() # instantiate the cache
         self._tag(names, node, message, local, user, date)
 
     def tags(self):