Script/tool to mirror HG repo into CVS

Jan Vrany jan.vrany at fit.cvut.cz
Fri Nov 8 15:41:36 CST 2013


On 08/11/13 19:34, Matt Mackall wrote:
> On Fri, 2013-11-08 at 17:21 +0000, Jan Vrany wrote:
>> Hi,
>>
>> I need a tool which takes mercurial repository and (incrementally)
>> creates updates CVS repository - pretty much like `hg convert` but
>> other way round.
>
>> I guess nothing ready exists, so I would have to hack up some tool
>> myself, but maybe there is something to start with.
>
> The convert extension has a framework for creating 'sources' and 'sinks'
> for any SCM. It already includes a Mercurial source, so you just need to
> create a CVS sink. That'll probably be pretty similar to the existing
> SVN sink:
>
> http://www.selenic.com/hg/file/c38c3fdc8b93/hgext/convert/subversion.py#l1005
>

Nice, this seems to be exactly what I'm looking for. Thanks!




More information about the Mercurial mailing list