Unknown exception when committing
Bastian Doetsch
bastian.doetsch at gmx.de
Sun Jul 6 12:55:39 CDT 2008
Reverting and readding fixed it. Strange...
Am Sonntag, den 06.07.2008, 19:51 +0200 schrieb Bastian Doetsch:
> Hi,
>
> using Mercurial f67d1468ac50 (verified it with 1.0.1 as well) on Ubuntu
> Hardy, I get the following stacktrace. The file mentioned in Key Error
> doesn't exist anymore - it was moved twice with hg. If anyone is
> interested, I could send the repository to analyze.
>
> Best regards, Bastian
>
> $ cat
> com.vectrace.mercurialeclipse.ui/src/com/vectrace/MercurialEclipse/exception/HgException.java
> cat:
> com.vectrace.mercurialeclipse.ui/src/com/vectrace/MercurialEclipse/exception/HgException.java: No such file or directory
>
> $ hg status
> 'com.vectrace.mercurialeclipse.ui/src/com/vectrace/MercurialEclipse/exception/HgException.java'
> com.vectrace.mercurialeclipse.ui/src/com/vectrace/MercurialEclipse/exception/HgException.java: No such file or directory
>
> $ hg log
> 'com.vectrace.mercurialeclipse.ui/src/com/vectrace/MercurialEclipse/exception/HgException.java'
> changeset: 704:5e2745b33db1
> user: Bastian Doetsch
> date: Sun Jul 06 17:55:45 2008 +0200
> summary: restructered dirs
>
> $ hg status
> M
> com.vectrace.mercurialeclipse.tests/src/com/vectrace/MercurialEclipse/commands/HgDebugInstallTest.java
> A
> com.vectrace.mercurialeclipse.core/src/com/vectrace/mercurialeclipse/core/exceptions/HgException.java
>
> $ hg verify
> checking changesets
> checking manifests
> crosschecking files in changesets and manifests
> checking files
> 1157 files, 715 changesets, 3355 total revisions
>
> $hg commit -m "new stuff"
>
> com.vectrace.MercurialEclipse.exception.HgException: Process error,
> return code: 1, message: ** unknown exception encountered, details
> follow
> ** report bug details to http://www.selenic.com/mercurial/bts
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 1.0.1)
> Traceback (most recent call last):
> File "/usr/bin/hg", line 5, in <module>
> pkg_resources.run_script('mercurial==1.0.1', 'hg')
> File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 448, in
> run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1166, in
> run_script
> execfile(script_filename, namespace, namespace)
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/EGG-INFO/scripts/hg", line 20, in <module>
> mercurial.dispatch.run()
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/dispatch.py", line 20, in run
> sys.exit(dispatch(sys.argv[1:]))
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/dispatch.py", line 29, in dispatch
> return _runcatch(u, args)
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/dispatch.py", line 45, in _runcatch
> return _dispatch(ui, args)
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/dispatch.py", line 364, in _dispatch
> ret = _runcommand(ui, options, cmd, d)
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/dispatch.py", line 417, in _runcommand
> return checkargs()
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/dispatch.py", line 373, in checkargs
> return cmdfunc()
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/dispatch.py", line 356, in <lambda>
> d = lambda: func(ui, repo, *args, **cmdoptions)
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/commands.py", line 557, in commit
> node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/cmdutil.py", line 1179, in commit
> return commitfunc(ui, repo, files, message, match, opts)
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/commands.py", line 555, in commitfunc
> force_editor=opts.get('force_editor'))
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/hgext/mq.py", line 2189, in commit
> return super(mqrepo, self).commit(*args, **opts)
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/localrepo.py", line 832, in commit
> new[f] = self.filecommit(f, m1, m2, linkrev, trp, changed)
> File
> "/usr/lib/python2.5/site-packages/mercurial-1.0.1-py2.5-linux-i686.egg/mercurial/localrepo.py", line 712, in filecommit
> meta["copyrev"] = hex(manifest1[cp])
> KeyError:
> 'com.vectrace.mercurialeclipse.ui/src/com/vectrace/MercurialEclipse/exception/HgException.java'
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080706/c22f2a7c/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://selenic.com/pipermail/mercurial/attachments/20080706/c22f2a7c/attachment.pgp
More information about the Mercurial
mailing list