Mercurial push error
Norman Walsh
ndw at nwalsh.com
Sun Aug 5 14:52:32 CDT 2007
/ Matt Mackall <mpm at selenic.com> was heard to say:
| > | Did the remote repo have a sensible number of changesets reported by
| > | verify ?
| >
| > Well. Only 1, I think. So I don't know if that's sensible or not.
|
| Well how many changesets were you expecting?
Some small number. I thought I'd done a few pushes successfully.
| Hmm, you shouldn't have a journal there. Somehow your last transaction
| didn't finish. Try running recover and verify again.
$ hg recover
rolling back interrupted transaction
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
264 files, 1 changesets, 264 total revisions
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
264 files, 1 changesets, 264 total revisions
$ ls -l .hg
total 4
-rw-r--r-- 1 ndw pg174814 57 Jul 17 07:07 00changelog.i
-rw-r--r-- 1 ndw pg174814 0 Aug 4 06:34 journal.dirstate
-rw-r--r-- 1 ndw pg174814 15 Jul 17 07:07 requires
drwxr-xr-x 3 ndw pg174814 4096 Aug 5 12:47 store
-rw-r--r-- 1 ndw pg174814 0 Jul 20 05:37 undo.dirstate
$ ls -l .hg/store/
total 28
-rw-r--r-- 1 ndw pg174814 1567 Aug 5 12:47 00changelog.i
-rw-r--r-- 1 ndw pg174814 8332 Aug 5 12:47 00manifest.i
drwxr-xr-x 32 ndw pg174814 4096 Aug 4 06:34 data
-rw-r--r-- 1 ndw pg174814 6092 Jul 20 05:37 undo
| Looks like we should print a warning when we find a journal on
| startup rather than just when we try to do a commit.
I could try to do the push again, but I've done this
recover/verify/push dance several times with consistent results. The
push will run for a long time, then appear to finish successfully as I
quoted before, but the remote repository will be mangled again.
Be seeing you,
norm
--
Norman Walsh <ndw at nwalsh.com> | Even while a thing is in the act of
http://nwalsh.com/ | coming into existence, some part of it
| has already ceased to be.--Marcus
| Aurelius
-------------- 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/20070805/b579aaed/attachment.pgp
More information about the Mercurial
mailing list