- To: Sonia Hamilton <sonia@xxxxxxxxxxxx>
- Subject: Re: [SLUG] managing .bashrc in subversion?
- From: Matthew Hannigan <mlh@xxxxxxxxxx>
- Date: Tue, 8 Apr 2008 15:33:49 +1000
- Cc: slug@xxxxxxxxxxx
- User-agent: Mutt/1.5.17 (2007-11-01)
On Tue, Apr 08, 2008 at 03:04:59PM +1000, Sonia Hamilton wrote:
> A "process" rather than "technical" question about subversion.
>
> My personal subversion repo is setup, works ok, etc. But I notice that
> subversion only lets you checkout a directory, not a file.
>
> I want to manage (for example) my .bashrc file in subversion - how to do
> it? I could check in all of /home/sonia, but I'd have to setup heaps of
> exclusions - nasty. I could put .bashrc in /home/sonia/bin (for example)
> and link to it "cd; ln -s bin/.bashrc .bashrc) - a hack.
>
> Any other suggestions?
Some people put there entire home dir into version control.
Seems excessive to me. Your hack is a popular hack and sounds
pretty reasonable to me. I'd use, say, a dir called checkout or
tree or svn rather than bin though.
Matt