Mercurial > hg
comparison mercurial/verify.py @ 5179:2da57dc04aa8
verify: report expected linkrev
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 15 Aug 2007 16:55:15 -0500 |
parents | 012dbf88b9b2 |
children | 29be4228303b |
comparison
equal
deleted
inserted
replaced
5178:18a9fbb5cd78 | 5179:2da57dc04aa8 |
---|---|
162 | 162 |
163 flr = fl.linkrev(n) | 163 flr = fl.linkrev(n) |
164 if flr not in filelinkrevs.get(f, []): | 164 if flr not in filelinkrevs.get(f, []): |
165 err(_("%s:%s points to unexpected changeset %d") | 165 err(_("%s:%s points to unexpected changeset %d") |
166 % (f, short(n), flr)) | 166 % (f, short(n), flr)) |
167 err(_("expecting one of %s" % filelinkrevs.get(f, []))) | |
167 else: | 168 else: |
168 filelinkrevs[f].remove(flr) | 169 filelinkrevs[f].remove(flr) |
169 | 170 |
170 # verify contents | 171 # verify contents |
171 try: | 172 try: |