hg commit error (1.5.2)
Matt Mackall
mpm at selenic.com
Mon May 10 22:50:12 UTC 2010
On Mon, 2010-05-10 at 05:52 +0200, Olivier Fabre wrote:
> Hi,
>
> I'm not sure that this is due to the latest mercurial update, but when I run
> hg commit then save my commit log, I get this error:
>
> transaction abort!
> rollback completed
> note: commit message saved in .hg/last-message.txt
> ** unknown exception encountered, details follow
> ** report bug details to http://mercurial.selenic.com/bts/
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 1.5.2)
> ** Extensions loaded:
> Traceback (most recent call last):
> File "/usr/bin/hg", line 27, in <module>
> mercurial.dispatch.run()
> File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 16, in
> run
> sys.exit(dispatch(sys.argv[1:]))
> File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 30, in
> dispatch
> return _runcatch(u, args)
> File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 50, in
> _runcatch
> return _dispatch(ui, args)
> File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 470,
> in _dispatch
> return runcommand(lui, repo, cmd, fullargs, ui, options, d)
> File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 340,
> in runcommand
> ret = _runcommand(ui, options, cmd, d)
> File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 521,
> in _runcommand
> return checkargs()
> File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 475,
> in checkargs
> return cmdfunc()
> File "/usr/lib/python2.6/site-packages/mercurial/dispatch.py", line 469,
> in <lambda>
> d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
> File "/usr/lib/python2.6/site-packages/mercurial/util.py", line 401, in
> check
> return func(*args, **kwargs)
> File "/usr/lib/python2.6/site-packages/mercurial/commands.py", line 712,
> in commit
> node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
> File "/usr/lib/python2.6/site-packages/mercurial/cmdutil.py", line 1151,
> in commit
> return commitfunc(ui, repo, message, match(repo, pats, opts), opts)
> File "/usr/lib/python2.6/site-packages/mercurial/commands.py", line 710,
> in commitfunc
> editor=e, extra=extra)
> File "/usr/lib/python2.6/site-packages/mercurial/localrepo.py", line 858,
> in commit
> ret = self.commitctx(cctx, True)
> File "/usr/lib/python2.6/site-packages/mercurial/localrepo.py", line 906,
> in commitctx
> m1.set(f, fctx.flags())
> File "/usr/lib/python2.6/site-packages/mercurial/context.py", line 304, in
> flags
> return self._changectx.flags(self._path)
> File "/usr/lib/python2.6/site-packages/mercurial/context.py", line 694, in
> flags
> flag = findflag(self._parents[0])
> File "/usr/lib/python2.6/site-packages/mercurial/context.py", line 690, in
> findflag
> return ff(path)
> File "/usr/lib/python2.6/site-packages/mercurial/dirstate.py", line 145,
> in f
> if 'x' in fallback(x):
> TypeError: argument of type 'NoneType' is not iterable
That's odd. What filesystem are you using?
>
> This is under Arch Linux, Mercurial 1.5.2-1, python 2.6.5-3.
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list