filename:hash points to unexpected changeset
Norman Walsh
ndw at nwalsh.com
Mon Aug 6 07:02:29 CDT 2007
/ Matt Mackall <mpm at selenic.com> was heard to say:
| On Sun, Aug 05, 2007 at 04:17:52PM -0400, Norman Walsh wrote:
|> Concerned by the problems I'm having with one repository, I decided to
|> run hg verify on each of them. On another, I encountered the following
|> problems:
|>
|> $ hg verify
|> checking changesets
|> checking manifests
|> crosschecking files in changesets and manifests
|> checking files
|> 2000/06/edinburgh.xml:5bfc5b1e7250 points to unexpected changeset 1366
|> 2001/03/belchertown.xml:47c3592e607d points to unexpected changeset 1366
|> ...
|> 2004/10/08/fountains.xml:f3c6af10778b points to unexpected changeset 1366
|> 6777 files, 1406 changesets, 13917 total revisions
|> 36 integrity errors encountered!
|
| Never seen that before either. This message says that changeset 1366
| didn't mention this change, but when we stored the file change, we
| recorded it as part of 1366.
|
| This should be harmless, but it's a bit of a mystery how this could
| happen.
|
| Please try again with this patch:
|
| diff -r bac4fe4c6316 mercurial/verify.py
| --- a/mercurial/verify.py Thu Aug 02 23:41:16 2007 -0500
| +++ b/mercurial/verify.py Sun Aug 05 17:20:18 2007 -0500
| @@ -164,6 +164,7 @@ def _verify(repo):
| if flr not in filelinkrevs.get(f, []):
| err(_("%s:%s points to unexpected changeset %d")
| % (f, short(n), flr))
| + err(_("expecting one of %s" % filelinkrevs.get(f, [])))
| else:
| filelinkrevs[f].remove(flr)
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
2000/06/edinburgh.xml:5bfc5b1e7250 points to unexpected changeset 1366
expecting one of [1371]
2001/03/belchertown.xml:47c3592e607d points to unexpected changeset 1366
expecting one of [1371]
2002/02/cannes.xml:c7f59c0b4c80 points to unexpected changeset 1366
expecting one of [1371]
2002/04/08/capri.xml:df98338895b9 points to unexpected changeset 1366
expecting one of [1371]
2002/04/09/pompeii.xml:684dba23af48 points to unexpected changeset 1366
expecting one of [1371]
2002/05/hawaii.xml:f4fab7b93b88 points to unexpected changeset 1366
expecting one of [1371]
2003/02/stthomas.xml:10a950809958 points to unexpected changeset 1366
expecting one of [1372]
2003/05/12/terminala.xml:9999e63c959a points to unexpected changeset 1366
expecting one of [1372]
2003/06/10/sanfrancisco.xml:37d28078e3e5 points to unexpected changeset 1366
expecting one of [1372]
2003/07/19/longhorn.xml:e840b6551583 points to unexpected changeset 1366
expecting one of [1372]
2003/08/07/extreme.xml:3701a98dce74 points to unexpected changeset 1366
expecting one of [1372]
2003/08/20/fungus.xml:08e319103d58 points to unexpected changeset 1366
expecting one of [1372]
2003/10/01/autumn.xml:280e30f2e1cd points to unexpected changeset 1366
expecting one of [1372]
2003/10/05/coffee.xml:67d108c4116b points to unexpected changeset 1366
expecting one of [1372]
2003/10/13/pubsigns.xml:4e89d06638ba points to unexpected changeset 1366
expecting one of [1372]
2003/10/14/queuedup.xml:a3c3e6776aab points to unexpected changeset 1366
expecting one of [1372]
2003/11/09/eclipse.xml:8ae78f0aa62e points to unexpected changeset 1366
expecting one of [1372]
2003/11/14/tokyo.xml:403eacf67f49 points to unexpected changeset 1366
expecting one of [1372]
2003/11/19/cliff.xml:2d811d16feea points to unexpected changeset 1366
expecting one of [1372]
2003/11/20/kamakura.xml:a959c1ddbc15 points to unexpected changeset 1366
expecting one of [1372]
2003/11/29/LAexists.xml:a56bfa3dfdb3 points to unexpected changeset 1366
expecting one of [1372]
2003/12/12/xml2003.xml:92adcd29a4cc points to unexpected changeset 1366
expecting one of [1372]
2004/03/10/liverpoolStreet.xml:6ba5b41f2648 points to unexpected changeset 1366
expecting one of [1373]
2004/03/11/pubsigns.xml:8da42275b07b points to unexpected changeset 1366
expecting one of [1373]
2004/03/12/baconsthorpe.xml:ec1276dae040 points to unexpected changeset 1366
expecting one of [1373]
2004/03/13/noBugs.xml:2605b463d3ed points to unexpected changeset 1366
expecting one of [1373]
2004/07/12/xrefstyle.xml:c1132f5a773b points to unexpected changeset 1366
expecting one of [1373]
2004/08/03/xpath2xslt2.xml:fe7de3d5ab72 points to unexpected changeset 1366
expecting one of [1373]
2004/08/08/cottage.xml:bd1c1e52b74b points to unexpected changeset 1366
expecting one of [1373]
2004/08/23/wistariahurst.xml:2ef8dc59a397 points to unexpected changeset 1366
expecting one of [1373]
2004/09/02/docbookTutorial.xml:2536c8dfe11c points to unexpected changeset 1366
expecting one of [1373]
2004/09/30/thinkLeft.xml:0caaed195dd5 points to unexpected changeset 1366
expecting one of [1373]
2004/10/02/blicklingPyramid.xml:070fb221defc points to unexpected changeset 1366
expecting one of [1373]
2004/10/03/pubsigns.xml:859d142cdb59 points to unexpected changeset 1366
expecting one of [1373]
2004/10/04/basel.xml:030ee17ae958 points to unexpected changeset 1366
expecting one of [1373]
2004/10/08/fountains.xml:f3c6af10778b points to unexpected changeset 1366
expecting one of [1373]
6777 files, 1406 changesets, 13917 total revisions
72 integrity errors encountered!
Be seeing you,
norm
--
Norman Walsh <ndw at nwalsh.com> | We think in generalities, but we live
http://nwalsh.com/ | in detail--Alfred North Whitehead
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20070806/6e86e29f/attachment.pgp
More information about the Mercurial
mailing list