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?


I use a directory called ~/.dotfiles which contains a few *.bashrc and 
*.profile files, a vimrc, an Xdefaults, etc.

I either include them from the top-level instance e.g. in .bashrc:

  test -d $HOME/.dotfiles && . $HOME/.dotfiles/*.bashrc

or just symlink them in.

Cheers,
Gavin

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to