[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Tracking public trees & private mods

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-06-13 05:21:21 CEST

If you wanted to track an open-source project, say APR, but keep
a set of modifications private, then you could create a svn tree,
check out the CVS APR inside the svn tree and check in everything,
including the CVS directories. Then tracking APR is easy, just cvs
update, merge any conflicts between the local mods and the APR updates,
and finally svn commit.

This is nice because you can version the local mods and not just
leave them un-backed up on your computer.

However, I can't think of an easy way to make this work if/when
APR moves over to svn. Then you can track APR, but you can't commit
your own modifications into any repository.

You could modify svn to use use one of several .svn directories. For
example, you could tell svn to use an alternative .svn directory for
APR, say svn-apr, when you want to work with the APR svn server, and
use .svn for the local svn server. The local svn server would treat
.svn-apr just like any other directory.

This would be pretty wasteful of space though. Having the copies
of everything in .svn-apr backed up again by a .svn-apr directory
inside of .apr.

By the way, I think this would be pretty easy to do in BitKeeper. You
would just set your parent to the local BK server and when you need
to, do bk pull <apr BK server>.

This is a usage model I'll need for svn. Anybody have any ideas.

Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 13 05:22:24 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.