Date: Fri, 23 Apr 2010 08:47:27 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-hackers@freebsd.org Cc: Sergey Babkin <babkin@verizon.net>, "Matthew D. Fuller" <fullermd@over-yonder.net>, Doug Barton <dougb@freebsd.org>, hackers@freebsd.org, Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= <des@des.no>, Jeremie Le Hen <jeremie@le-hen.org> Subject: Re: /etc in CVS Message-ID: <201004230847.28013.jhb@freebsd.org> In-Reply-To: <20100423065015.GJ10699@over-yonder.net> References: <201003231108.45102.jhb@freebsd.org> <20100422144127.GW92627@acme.spoerlein.net> <20100423065015.GJ10699@over-yonder.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 23 April 2010 2:50:15 am Matthew D. Fuller wrote: > On Thu, Apr 22, 2010 at 04:41:27PM +0200 I heard the voice of > Ulrich Sp=F6rlein, and lo! it spake thus: > >=20 > > I have a .hg directory sitting in / for every machine I usually take > > care of. hgignore is of course set to *, so only explicitly added files > > are tracked. >=20 > I do pretty much the same thing (except mine has .bzr/ and .bzrignore > ;). Using the VCS to handle updates requires something a bit broader > though. I HAVE considered it. You'd need to do the sort of 'make > install' stuff mergemaster does to a tempdir, and make a branch there > checking in the snapshots, and have your etc be a derived branch from > that. That way you have all the VCS merge capabilities to do the > merges and track where they came from. >=20 > Mergemaster works well enough that I've given no serious thought > beyond idle "that would be cool" thinking on the matter though 8-} etcupdate essentially seeks to do a simplified version of the vendor import= s=20 by just keeping the last two imports around so that each new import can be= =20 applied. This does mean it is more limited than a full source code control= =20 solution, but it also ends up being more lightweight. =2D-=20 John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004230847.28013.jhb>