login
Header Space

 
 

Re: CVS -> SVN -> Git

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Julian Phillips <julian@...>
Cc: <git@...>
Date: Friday, July 13, 2007 - 7:03 pm

Julian Phillips wrote:

I'm the main cvs2svn developer.  Obviously, the tool is intended to
convert to Subversion, but there are ways to tune it to make its output
a little bit more git-friendly.

[Please note that both CVS and SVN allow changes to multiple
tags/branches in a single commit and creating tags using more than one
commit.  That is why cvs2svn converts these repository "features" 1:1 by
default.]

Release 2.0.0-rc1 of cvs2svn (released today) has a
--no-cross-branch-commits option that prevents commits that affect more
than one branch.  For multiproject conversions, the
"ctx.cross_project_commits" option might also be useful.  (The latter is
only available if you start cvs2svn with an --options file.)

The new cvs2svn release is also more intelligent about determining the
most likely source branch from which a tag/branch was created.  This
does not eliminate the creation of tags from more than one revision, but
it should reduce its frequency.  If your repository uses any vendor
branches, you might also consider --exclude'ing them.  In the new
cvs2svn version, this causes vendor revisions to be grafted onto trunk
and thereby eliminates another common cause of multiple-source
branches/tags.

Incidentally, now that cvs2svn 2.0.0 is nearly out, I am thinking about
what it would take to write some other back ends for cvs2svn--turning
it, essentially, into cvs2xxx.  Most of the work that cvs2svn does is
inferring the most plausible history of the repository from CVS's
sketchy, incomplete, idiomatic, and often corrupt data.  This work
should also be useful for a cvs2git or cvs2hg or cvs2baz or ...

I haven't played with a distributed SCM yet, but if somebody would be
interested in working with me on this please let me know.

Michael
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
CVS -&gt; SVN -&gt; Git, Julian Phillips, (Fri Jul 13, 10:48 am)
Re: CVS -&gt; SVN -&gt; Git, Simon 'corecode' Schubert..., (Thu Jul 19, 3:15 pm)
Re: CVS -&gt; SVN -&gt; Git, Julian Phillips, (Fri Jul 20, 1:58 am)
Re: CVS -> SVN -> Git, Michael Haggerty, (Fri Jul 13, 7:03 pm)
Re: CVS -&gt; SVN -&gt; Git, Martin Langhoff, (Sat Jul 14, 1:30 am)
Re: CVS -&gt; SVN -&gt; Git, Simon 'corecode' Schubert..., (Thu Jul 19, 3:18 pm)
Re: CVS -&gt; SVN -&gt; Git, Michael Haggerty, (Sat Jul 14, 1:09 pm)
Re: CVS -&gt; SVN -&gt; Git, Scott Lamb, (Sun Jul 15, 7:09 pm)
Re: CVS -&gt; SVN -&gt; Git, Eric S. Raymond, (Sat Jul 14, 3:52 pm)
Re: CVS -&gt; SVN -&gt; Git, Michael Haggerty, (Sat Jul 14, 6:19 pm)
Re: CVS -&gt; SVN -&gt; Git, Eric S. Raymond, (Sat Jul 14, 9:39 pm)
Re: CVS -&gt; SVN -&gt; Git, Martin Langhoff, (Sun Jul 15, 9:05 pm)
Re: CVS -&gt; SVN -&gt; Git, Simon 'corecode' Schubert..., (Thu Jul 19, 3:14 pm)
Re: CVS -&gt; SVN -&gt; Git, Markus Schiltknecht, (Fri Jul 20, 4:45 am)
Re: CVS -&gt; SVN -&gt; Git, Markus Schiltknecht, (Thu Jul 19, 8:02 am)
Re: CVS -&gt; SVN -&gt; Git, Karl Fogel, (Thu Jul 19, 11:51 pm)
Re: CVS -&gt; SVN -&gt; Git, Michael Haggerty, (Sun Jul 15, 8:04 am)
Re: CVS -&gt; SVN -&gt; Git, Eric S. Raymond, (Sun Jul 15, 9:36 am)
Re: CVS -&gt; SVN -&gt; Git, David Frech, (Sat Jul 14, 7:23 pm)
Re: CVS -&gt; SVN -&gt; Git, Michael Haggerty, (Sun Jul 15, 7:48 am)
Re: CVS -&gt; SVN -&gt; Git, Martin Langhoff, (Sun Jul 15, 9:08 pm)
Re: CVS -&gt; SVN -&gt; Git, Karl Fogel, (Sun Jul 15, 9:30 pm)
Re: CVS -&gt; SVN -&gt; Git, Julian Phillips, (Sun Jul 15, 9:13 pm)
Re: CVS -&gt; SVN -&gt; Git, Shawn O. Pearce, (Sat Jul 14, 10:30 pm)
Re: CVS -&gt; SVN -&gt; Git, Karl Fogel, (Sat Jul 14, 6:44 pm)
Re: CVS -&gt; SVN -&gt; Git, Oswald Buddenhagen, (Sat Jul 14, 5:50 pm)
Re: CVS -&gt; SVN -&gt; Git, Junio C Hamano, (Sat Jul 14, 4:58 pm)
Re: CVS -&gt; SVN -&gt; Git, Steffen Prohaska, (Sat Jul 14, 2:14 pm)
Re: CVS -&gt; SVN -&gt; Git, Shawn O. Pearce, (Sat Jul 14, 10:22 pm)
Re: CVS -&gt; SVN -&gt; Git, Chris Shoemaker, (Sat Jul 14, 1:32 pm)
Re: CVS -&gt; SVN -&gt; Git, Michael Haggerty, (Sat Jul 14, 4:01 pm)
speck-geostationary