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

RE: Re: Versioning my /etc and other directories

From: Rob van Oostrum <rob.vanoostrum_at_blastradius.com>
Date: 2006-02-26 02:34:07 CET

The only way to version control it, is to version control it. Sounds like you could get away with having a branch for each machine-specific version of /etc and a trunk to track whatever is common across all branches. Whenever you have changes that apply to all machines, make those changes in trunk and merge the changes to all the branches. That still leaves you with the freedom to make machine-specific changes (directly on the corresponding branch) and still have everything under version control.

Cheers
Rob

-----Original Message-----
From: Duncan Murdoch [mailto:murdoch@stats.uwo.ca]
Sent: Friday, February 24, 2006 7:34 PM
To: Tobias Schäfer
Cc: users@subversion.tigris.org
Subject: Re: Versioning my /etc and other directories

On 2/24/2006 6:15 PM, Tobias Schäfer wrote:
> On Saturday 25 February 2006 00:08, Mark Lacas wrote:
>> Hello,
>>
>> I would like to put my /etc folder (and others like it) under
>> Subversion control.
>>
>> There seems to be a catch-22.
>>
>> I can import everything into Subversion ok.
>> But I really don't want to do a checkout over my etc directory.
>> If I try to Subversion whines about stuff already being there.
>
> See http://subversion.tigris.org/faq.html#in-place-import

I'm not sure if this was Mark's problem, but what if I am managing
several machines, with different /etc directories, and I want them all
to be under svn control?

For the first one I can do an in place import, but for the second and
subsequent, I want to turn on versioning, and then decide for each of
the files that is there whether the differences from the ones already in
the repos should be kept or discarded. What's the best way to do this?

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 26 02:31:46 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.