How to write common.converter_source?

Kaz Nishimura kazssym at vx68k.org
Thu May 7 04:55:46 UTC 2015


I started my work as a new extension on Bitbucket
<https://bitbucket.org/kazssym/hgext-convertprcs> by appending my class to
convcmd.source_converters.  If I had more questions, I would ask later.


On Thu, May 7, 2015 at 8:19 AM, Kaz Nishimura <kazssym at vx68k.org> wrote:

> One more question.  Should I add the converter source to the convert
> extension directly?  Or can I make it another extension?
> 2015/05/07 8:00 "Matt Mackall" <mpm at selenic.com>:
>
> On Thu, 2015-05-07 at 07:30 +0900, Kaz Nishimura wrote:
>> > As mentioned before, with PRCS, a revision can have more than two
>> parents
>> > or no direct parent if it was deleted.  Can such cases properly handled
>> by
>> > the converter?
>>
>> You need to span the gap for deleted changes.. or accept that you'll
>> have multiple roots of your DAG. > 2 parents is more automatically
>> accommodated: the hg sink will create N-1 commits.
>>
>> --
>> Mathematics is the supreme nostalgia of our time.
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150507/5f5a3986/attachment-0002.html>


More information about the Mercurial mailing list