Mercurial push error

Norman Walsh ndw at nwalsh.com
Sat Jul 28 07:11:57 CDT 2007


I have a mercurial repository that I've been using for a while.
Everything seemed to work fine. Then I made a bunch of edits and
issued a push. The push took tens of minutes if not an hour or more
and finally failed:

~$ hg --verbose push
running ssh user at password "hg -R repository/path/name serve --stdio"
pushing to ssh://user@password/repository/path/name
searching for changes
19 changesets found
remote: ** unknown exception encountered, details follow
remote: ** report bug details to http://www.selenic.com/mercurial/bts
remote: ** or mercurial at selenic.com
remote: ** Mercurial Distributed SCM (version 8706e75e6431)
remote: Traceback (most recent call last):
remote:   File "/home/ndw/bin/hg", line 11, in ?
remote:     mercurial.commands.run()
remote:   File "/home/ndw/lib/python/mercurial/commands.py", line 3125, in run
remote:     sys.exit(dispatch(sys.argv[1:], argv0=sys.argv[0]))
remote:   File "/home/ndw/lib/python/mercurial/commands.py", line 3122, in dispatch
remote:     return cmdutil.runcatch(u, args, argv0=argv0)
remote:   File "/home/ndw/lib/python/mercurial/cmdutil.py", line 37, in runcatch
remote:     return dispatch(ui, args, argv0=argv0)
remote:   File "/home/ndw/lib/python/mercurial/cmdutil.py", line 378, in dispatch
remote:     ret = runcommand(ui, options, cmd, d)
remote:   File "/home/ndw/lib/python/mercurial/cmdutil.py", line 431, in runcommand
remote:     return checkargs()
remote:   File "/home/ndw/lib/python/mercurial/cmdutil.py", line 387, in checkargs
remote:     return cmdfunc()
remote:   File "/home/ndw/lib/python/mercurial/cmdutil.py", line 370, in <lambda>
remote:     d = lambda: func(ui, repo, *args, **cmdoptions)
remote:   File "/home/ndw/lib/python/mercurial/commands.py", line 2451, in serve
remote:     s.serve_forever()
remote:   File "/home/ndw/lib/python/mercurial/sshserver.py", line 39, in serve_forever
remote:     while self.serve_one(): pass
remote:   File "/home/ndw/lib/python/mercurial/sshserver.py", line 46, in serve_one
remote:     if impl: impl()
remote:   File "/home/ndw/lib/python/mercurial/sshserver.py", line 193, in do_unbundle
remote:     r = self.repo.addchangegroup(fp, 'serve', self.client_url())
remote:   File "/home/ndw/lib/python/mercurial/localrepo.py", line 1776, in addchangegroup
remote:     tr = self.transaction()
remote:   File "/home/ndw/lib/python/mercurial/localrepo.py", line 495, in transaction
remote:     aftertrans(renames))
remote:   File "/home/ndw/lib/python/mercurial/transaction.py", line 23, in __init__
remote:     raise AssertionError(_("journal already exists - run hg recover"))
remote: AssertionError: journal already exists - run hg recover
$ hg recover
no interrupted transaction available

Clues, please?

I'm running mercurial 0.9.3-2 and Python 2.5.1-0ubunut1 from Ubuntu
Feisty.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw at nwalsh.com> | Labor, n. One of the processes by which
http://nwalsh.com/            | A acquires property for B.--Ambrose
                              | Bierce
-------------- 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/20070728/854408ca/attachment.pgp 


More information about the Mercurial mailing list