Re: Trunk-to-branch script

Michael Haggerty <[email protected]> Sat, 27 Mar 2010 18:39:15 +0100
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
Jon Foster wrote:
> In CVS, we have directories called "config_for_project_FOO".  These
> contain a script that will check out all the other modules, typically
> from PROJECT-FOO-BR branch.  The config directory is on trunk.
> 
> In SVN, we'd like to have these config directories on the same branch
> as all the other code.  (Partly because it's slightly trickier to do
> multi-branch checkouts in Subversion.  We'd have to use svn:externals
> or "svn switch", and both those options add complexity.  I'd rather
> our first-time Subversion users didn't have to learn about those
> features).
> 
> So we plan to use the attached script to rewrite the history of the
> config directories, so cvs2svn puts them on the right branch.
> 
> Originally, I had modified cvs2svn to do this, but having a separate
> script is simpler.
> 
> One side effect of this script is that all pre-existing branches are
> thrown away.  This is just to make the script slightly simpler to
> write and easier to test - I know in my usecase there aren't any
> other interesting branches.
> 
> Would you be interested in putting this in contrib/?

It's a lot of code and very specialized.  I think it is unlikely to be
useful to other users.  If anybody disagrees, please make yourself heard.

Otherwise, I suggest that the official "repository" for this code be
here in the email archives, where hopefully a determined user can find
it via a search engine.

Michael

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2465999

To unsubscribe from this discussion, e-mail: [[email protected]].