Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
8856:f8d00346a62d | 8857:5096a47d8aec |
---|---|
260 bin_n = bin(node) | 260 bin_n = bin(node) |
261 except TypeError: | 261 except TypeError: |
262 warn(_("node '%s' is not well formed") % node) | 262 warn(_("node '%s' is not well formed") % node) |
263 continue | 263 continue |
264 if bin_n not in self.changelog.nodemap: | 264 if bin_n not in self.changelog.nodemap: |
265 warn(_("tag '%s' refers to unknown node") % key) | 265 # silently ignore as pull -r might cause this |
266 continue | 266 continue |
267 | 267 |
268 h = [] | 268 h = [] |
269 if key in filetags: | 269 if key in filetags: |
270 n, h = filetags[key] | 270 n, h = filetags[key] |