[issue2339] commit --mq: b2a_hex() argument 1 must be string or read-only buffer
Frank Kingswood
bugs at mercurial.selenic.com
Wed Aug 18 14:28:48 UTC 2010
New submission from Frank Kingswood <frank at kingswood-consulting.co.uk>:
I am getting a traceback on a commit of the mq repo
transaction abort!
rollback completed
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16) [GCC 4.4.3]
** Mercurial Distributed SCM (version 1.6)
** Extensions loaded: perfarce, convert, hgk, patchbomb, transplant,
graphlog, bookmarks, mq, extdiff, rebase, color
Traceback (most recent call last):
File "/usr/local/bin/hg", line 27, in <module>
mercurial.dispatch.run()
File "usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
16, in run
File "usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
34, in dispatch
File "usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
54, in _runcatch
File "usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
483, in _dispatch
File "usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
351, in runcommand
File "usr/local/lib/python2.5/site-packages/mercurial/extensions.py", line
160, in wrap
File "usr/local/lib/python2.5/site-packages/hgext/color.py", line 213, in
colorcmd
File "usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
534, in _runcommand
File "usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
488, in checkargs
File "usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
481, in <lambda>
File "usr/local/lib/python2.5/site-packages/mercurial/util.py", line 420,
in check
File "usr/local/lib/python2.5/site-packages/mercurial/extensions.py", line
116, in wrap
File "usr/local/lib/python2.5/site-packages/mercurial/util.py", line 420,
in check
File "usr/local/lib/python2.5/site-packages/hgext/mq.py", line 2791, in
mqcommand
File "usr/local/lib/python2.5/site-packages/mercurial/util.py", line 420,
in check
File "/usr/lib/python2.5/commands.py", line 762, in commit
File "usr/local/lib/python2.5/site-packages/mercurial/cmdutil.py", line
1202, in commit
File "/usr/lib/python2.5/commands.py", line 757, in commitfunc
File "usr/local/lib/python2.5/site-packages/hgext/mq.py", line 2690, in commit
File "usr/local/lib/python2.5/site-packages/mercurial/localrepo.py", line
893, in commit
File "usr/local/lib/python2.5/site-packages/hgext/bookmarks.py", line 282,
in commitctx
File "usr/local/lib/python2.5/site-packages/mercurial/localrepo.py", line
940, in commitctx
File "usr/local/lib/python2.5/site-packages/mercurial/localrepo.py", line
763, in _filecommit
TypeError: b2a_hex() argument 1 must be string or read-only buffer, not None
Some further notes:
* crev='\xb4\xdfER\xa17\xaa\xcc\xf77\xe0\x07\xe4"W\x9e~\xa3\x18\x05'
* copy=('enable-template',
'\xb4\xdfER\xa17\xaa\xcc\xf77\xe0\x07\xe4"W\x9e~\xa3\x18\x05')
* cfname='enable-template'
* the same b2a_hex() thing happens whether I do 'hg ci --mq' or disable all
extensions and run 'hg ci' from within .hg/patches.
* hg verify says the patch repo is good.
* hg clone on the patch repo gives me a working copy
* adding/removing the same files in the clone works
I've saved the .hg/patches directory so I can do some checking.
----------
messages: 13392
nosy: frank
priority: bug
status: unread
title: commit --mq: b2a_hex() argument 1 must be string or read-only buffer
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2339>
____________________________________________________
More information about the Mercurial-devel
mailing list