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.
Fixed by http://selenic.com/repo/hg/rev/417f3c27983b Matt Mackall <mpm@selenic.com> commit: search both parents for missing copy revision (issue2484) (please test the fix)
When I run the testcase attached to issue2038, everything seems to work OK with the patch, but I do get following warning : 'warning: can't find ancestor for 'dd/b' copied from 'd/b'!' This warning only appears when rebasing a changeset onto a changeset containing renames, but not when rebasing a changeset containing renames onto a regular changeset
--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:14 EDT --- This bug was previously known as _bug_ 2484 at http://mercurial.selenic.com/bts/issue2484