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

Understanding partial branches

From: Jay Levitt <lists-svn_at_shopwatch.org>
Date: 2006-01-08 05:11:11 CET

A quick search shows a few mentions of using externals and selective "svn
update" commands to achieve partial branches, but I still can't get my
head around it.

I have a development machine and two production machines, and I have /etc
under svn's control. The vast majority of /etc is the same on both dev
and production, so this works well.

But dev also acts as a management server, so for instance, it runs dhcpd.
I'd like to keep /etc/dhcpd.conf under svn control, for obvious reasons,
but I never want it to show up on a production machine. And
/etc/httpd.conf will always differ, yet I'd like to version-control both
the production and dev copies.

What, exactly, could I do to achieve that? Step 1 is to create
repos/tags/dev and repos/tags/production, but how do I avoid having to
merge each change in common files (say, /etc/bashrc) into both branches?

Jay Levitt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 8 05:13:02 2006

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

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