tags: silence warning about unknown tags
This is mostly a nuisance and can happen legitimately with pull -r, etc.
--- 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 = []
--- a/tests/test-tags.out Sat Jun 20 09:00:02 2009 -0500
+++ b/tests/test-tags.out Sat Jun 20 10:53:47 2009 -0500
@@ -26,14 +26,12 @@
.hgtags@c071f74ab5eb, line 2: cannot parse entry
.hgtags@c071f74ab5eb, line 4: node 'foo' is not well formed
.hgtags@4ca6f1b1a68c, line 2: node 'x' is not well formed
-localtags, line 1: tag 'invalid' refers to unknown node
tip 8:4ca6f1b1a68c
first 0:0acdaf898367
changeset: 8:4ca6f1b1a68c
.hgtags@c071f74ab5eb, line 2: cannot parse entry
.hgtags@c071f74ab5eb, line 4: node 'foo' is not well formed
.hgtags@4ca6f1b1a68c, line 2: node 'x' is not well formed
-localtags, line 1: tag 'invalid' refers to unknown node
tag: tip
parent: 3:b2ef3841386b
user: test