filename:hash points to unexpected changeset

Matt Mackall mpm at selenic.com
Mon Aug 6 14:50:41 CDT 2007


On Mon, Aug 06, 2007 at 02:39:01PM -0400, Norman Walsh wrote:
> / Matt Mackall <mpm at selenic.com> was heard to say:
> |> 2000/06/edinburgh.xml:5bfc5b1e7250 points to unexpected changeset 1366
> |> expecting one of [1371]
> |
> | Thanks. Have you looked at revs 1366 and 1371? Was this file touched
> | in the latter and not in the former?
> |
> | Can you do:
> |
> | hg manifest --debug 1366 | grep edinburgh
> |
> | It will show the file hash present in rev 1366, if any.
> 
> $ for f in 1365 1366 1367; do echo $f; hg manifest --debug $f | grep edinburgh.xml; done
> 1365
> faa5881e91d29ca10d4624719ca7db1c26712cfe 644 2000/06/edinburgh.xml
> 1366
> faa5881e91d29ca10d4624719ca7db1c26712cfe 644 2000/06/edinburgh.xml
> 1367
> faa5881e91d29ca10d4624719ca7db1c26712cfe 644 2000/06/edinburgh.xml
> 
> Which I interpret as no real change associated with 1366.
> 
> $ for f in 1370 1371 1372; do echo $f; hg manifest --debug $f | grep edinburgh.xml; done
> 1370
> faa5881e91d29ca10d4624719ca7db1c26712cfe 644 2000/06/edinburgh.xml
> 1371
> 5bfc5b1e7250d2d71b97c6b0226e43285c363a62 644 2000/06/edinburgh.xml
> 1372
> 5bfc5b1e7250d2d71b97c6b0226e43285c363a62 644 2000/06/edinburgh.xml
> 
> Which I interpret to mean I really did change it at 1371.

Sure looks like it.

Are you using mq? Have you made much use of undo/rollback?

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list