[issue2484] localrepo._filecommit gets None in crev

Mads Kiilerich mads at kiilerich.com
Wed Nov 10 06:08:22 CST 2010


On 11/10/2010 08:20 AM, Matt Mackall wrote:
>
> New submission from Matt Mackall<mpm at selenic.com>:
>
> A number of bug reports include this in the traceback:
>
>    File "/usr/local/lib/python2.5/site-packages/mercurial/localrepo.py", line
> 761, in _filecommit
>      self.ui.debug(_(" %s: copy %s:%s\n") % (fname, cfname, hex(crev)))
> TypeError: b2a_hex() argument 1 must be string or read-only buffer, not None
>
> Unifying them under this issue.
>
> ----------
> messages: 14341
> nosy: mpm
> priority: bug
> status: unread
> title: localrepo._filecommit gets None in crev

Matt, you have previously hinted that it is different bugs that happens 
to give the same inconsistency and error message. Issue2460 is a recent 
example of such a bug that got fixed.

Do you see a common root cause or do you want a common workaround or 
what's up?

/Mads


More information about the Mercurial-devel mailing list