Mercurial > hg
comparison mercurial/tags.py @ 13257:d1245ce817a8
tags: avoid a pointless usage of revlog.nodemap
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 11 Jan 2011 17:09:06 -0600 |
parents | 2d754eae430c |
children | 5ccdca7df211 |
comparison
equal
deleted
inserted
replaced
13256:996b95985c2f | 13257:d1245ce817a8 |
---|---|
96 name = recode(name) | 96 name = recode(name) |
97 try: | 97 try: |
98 nodebin = bin(nodehex) | 98 nodebin = bin(nodehex) |
99 except TypeError: | 99 except TypeError: |
100 warn(_("node '%s' is not well formed") % nodehex) | 100 warn(_("node '%s' is not well formed") % nodehex) |
101 continue | |
102 if nodebin not in repo.changelog.nodemap: | |
103 # silently ignore as pull -r might cause this | |
104 continue | 101 continue |
105 | 102 |
106 # update filetags | 103 # update filetags |
107 hist = [] | 104 hist = [] |
108 if name in filetags: | 105 if name in filetags: |