workflow: cvs <-> hg mercurial

Brendan Cully brendan at kublai.com
Wed Jul 11 19:13:05 CDT 2007


On Wednesday, 11 July 2007 at 23:46, Patrick Drechsler wrote:
> Hello,
> 
> distributed version control is new to me (I think the idea is
> grand). I would like to use it for the following scenario:
> 
> I have to work with a CVS repository. And Windows (XPSP2).
> 
> Since I am not always connected to the CVS-Repository (and have a
> "only-commit-when-functional" policy), I would like to mirror the code
> locally. From what I have read distributed version control might solve
> the problem.
> 
> The only interesting "howto" page I found was (after excluding "git"):
> 
> http://wiki.mozilla.org/User:VladVukicevic/Mercurial_Testing

That looks pretty clunky. I'd suggest maintaining a mercurial import
of the CVS tree using the convert extension. Clone and pull from that
for your local work. Pushing back to CVS still needs some manual
attention, but the cvscommit extension may fit the bill. You could
probably do something in a loop around hg outgoing.


More information about the Mercurial mailing list