changeset 454:58d57594b802

Add 'local' tags -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add 'local' tags Local tags are repository-private tags that override the usual tags. They're not version controlled. manifest hash: cce27c853d36f03adba4bd543a37c8faf1a0c749 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCu3SSywK+sNU5EO8RAlVAAJ9sTyIW2EkzBPSPp+3uU6a+6DUC6QCcD0vE jiwqhtfCuvG5LLs54LkzamY= =D9IP -----END PGP SIGNATURE-----
author mpm@selenic.com
date Thu, 23 Jun 2005 18:48:50 -0800
parents 7a3a3952c431
children 8d43dfdfb514
files mercurial/hg.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py	Thu Jun 23 17:51:03 2005 -0800
+++ b/mercurial/hg.py	Thu Jun 23 18:48:50 2005 -0800
@@ -394,6 +394,9 @@
                             n, k = l.split(" ", 1)
                             self.tagscache[k.strip()] = bin(n)
             except KeyError: pass
+            for k, n in self.ui.configitems("tags"):
+                self.tagscache[k] = bin(n)
+                
             self.tagscache['tip'] = self.changelog.tip()
 
         return self.tagscache