[darcs-users] darcs to cvs converter

Benjamin Franksen benjamin.franksen at bessy.de
Thu Nov 9 23:24:02 UTC 2006


Hi All,

where I work we have been using CVS exclusively until a few months ago we
decided it is finally time to switch to something a little less broken. The
obvious conservative choice was Subversion. I spent some time trying it out
and became more and more frustrated -- i was just too spoiled by the
simplicity of darcs (which I've been using for private stuff for some
while), specially when it comes to merging stuff between branches.

Now, I've almost managed to convince my colleagues that darcs really /is/
the superior tool and that a switch from CVS to Subversion would be a waste
of time and energy when something so much better is readily available. The
only problem is that some people fear that darcs may not be mature enough
to rely on it exclusively and without some kind of fallback method in case
one or the other bug might after all turn out to be a show-stopper (which I
personally don't believe, but that's just me).

So, what was suggested was that I find out a way to mirror the (future)
primary darcs repository (one that gets only pushed to, with dangerous
comands disabled, etc) _back_ into our CVS repository.

I have successfully employed cvs2darcs to convert from CVS to darcs, but
what about the other way? Are there any tools (Perl or shell scripts etc)
out there which one can use as an 'apply posthook' and which mirror all
pushes back into CVS, preferably preserving log messages (patch names) so
that the resulting CVS repo could be used to continue work if darcs for
some reason 'fails'? Id think the task should not be too difficult, because
I can guarantee that, for the time being, there would be _no_ CVS commits
other than the ones coming from darcs. However, before I write such a
script from scratch I thought I'd ask if anyone else has already done the
work.

Cheers
Ben





More information about the darcs-users mailing list