Mercurial push error

Norman Walsh ndw at nwalsh.com
Sat Aug 4 06:41:50 CDT 2007


/ Matt Mackall <mpm at selenic.com> was heard to say:
| On Sat, Jul 28, 2007 at 05:19:38PM -0400, Norman Walsh wrote:
|> / Matt Mackall <mpm at selenic.com> was heard to say:
|> | So it looks like someone (possibly you?) tried to push, and their
|> | session got killed. Somehow Mercurial died without releasing the lock
|> | and the transaction (this might happen if it gets OOM-killed or
|> | similar). Your session eventually noticed the lock was stale and
|> | claimed it, only to discover the aborted transaction.
|> 
|> How can I fix this so I can finish the push?
|
| It said:
|
| remote: AssertionError: journal already exists - run hg recover
| ^^^^^^
|
| You need to run recover on the remote repo.

Ok. That seemed to help.

I login to the remote location, run hg recover, it rolls back.
I run hg verify on the remote location and hg verify on the
local location, all seems ok.

I run

$ hg push
pushing to ssh://user@host/path/to/hg/repos/home
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
2199 files, 24 changesets, 2390 total revisions

So far so good. Now I log back into the remote location

e$ hg verify
checking changesets
checking manifests
bad manifest link (1) at revision 1
bad manifest link (2) at revision 2
...
node 1d6e54be5af7237f8af36e5be189529351a01bcc in manifests not in stylesheets/xmldatemeta2n3.xsl
node 0234325754f8fbc1c8391d109392b3d5b93783b4 in manifests not in stylesheets/year.xsl
2199 files, 1 changesets, 1144 total revisions
4084 integrity errors encountered!

Now what's gone wrong?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw at nwalsh.com> | Everything should be made as simple as
http://nwalsh.com/            | possible, but no simpler.
-------------- 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/20070804/7e220087/attachment.pgp 


More information about the Mercurial mailing list