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

Re: Storing /etc in a repository

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-12-30 19:08:46 CET

Chris Rose wrote:
> I'm thinking that I should start being a more responsible admin of my
> server -- I've run into situations before where I've made a change
> that has broken something and I have wished like hell that I could A)
> remember what it was and B) restore it to a working state.
>
> So, in that vein, I have a subversion repository that I'd like to be
> able to keep my entire /etc tree in. Or at least as much of it as is
> reasonable to do so.
>
> How can I go about this, though? I can check it in, but that's going
> to A) be prohibitively large if there are unnecessary binary files in
> there

Check in what is appropriate, and svn:ignore what is not.

> and B) I don't know how to convert /etc to a working copy
> without deleting it all

http://subversion.tigris.org/project_faq.html#in-place-import

> -- and since the repository is on the same
> system (with the apache server, etc...) I'm not sure if this is even
> possible.
>
> I hope that someone else here has done something like this. Should I
> maybe set up a secondary repo on another system for this? I don't
> really have one to work with at the moment, so I'm not sure I can, but
> if it's the only way I'll have to do it. I'd prefer a one-machine
> (different physical drive, so hardware redundancy == taken care of)
> solution.

Put the repository wherever makes most sense for you. It really doesn't
matter.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 30 19:11:23 2004

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.