Script/tool to mirror HG repo into CVS

Matt Mackall mpm at selenic.com
Fri Nov 8 13:34:35 CST 2013


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

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list