diff mercurial/localrepo.py @ 8857:5096a47d8aec

tags: silence warning about unknown tags This is mostly a nuisance and can happen legitimately with pull -r, etc.
author Matt Mackall <mpm@selenic.com>
date Sat, 20 Jun 2009 10:53:47 -0500
parents 980f5b7c5fb6
children 3df8dbf706b0
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat Jun 20 09:00:02 2009 -0500
+++ b/mercurial/localrepo.py	Sat Jun 20 10:53:47 2009 -0500
@@ -262,7 +262,7 @@
                     warn(_("node '%s' is not well formed") % node)
                     continue
                 if bin_n not in self.changelog.nodemap:
-                    warn(_("tag '%s' refers to unknown node") % key)
+                    # silently ignore as pull -r might cause this
                     continue
 
                 h = []