kbloom at gmail.com
Sat May 12 00:53:08 CEST 2007
On Friday 11 May 2007 04:51:38 pm Kevin T. Neely wrote:
> On Thu, Apr 26, 2007 at 04:53:42PM -0700, Martin Fick wrote:
> > --- "Kevin T. Neely" <ktneely at astroturfgarden.com>
> > wrote:
> > > I guess my only problem is how to do this gracefully
> > > with my current setup which is my $HOME with some
> > > svn:externals pointing to the source tree, work
> > > tree, and personal tree...
> > What I am beginning to do is something like this,
> > create a repository called 'layout', use this
> > repository to organize different views and not really
> > any actual files. Something like this:
> > layout/home/work
> > /home
> > /guest
> > ...
> > This way, at work in your home directory you would
> > checkout:
> > svn:...layout/home/work
> > which may then contain externals such as:
> > ...music/
> This is pretty much what I am thinking, as well. I went to actually
> implement this, and ran into a problem. When I propedit the
> svn:externals, I cannot do something like:
> . svn+ssh://server.com/svn/repos/home
> where home is a repository of what i want to appear in $HOME. I
> suppose I could pop up to /home on the client machine and edit the
> properties like
> username svn+ssh://server.com/svn/repos/home
> but that is weird as I would essentially be working outside of my
> home dir.
> Is there a better way to do this?
That's what various kinds of svnfix scripts are all about, the goal
being that you stick this stuff in another externals directory and
symlink it into place. So you create
and have the script make symlinks like
.foo -> .common_dotfiles/foo
.bar -> .common_dotfiles/bar
My svnfix script on the wiki may be helpful here, or you may want a more
automatic way of discovering what should be symlinked.
(Heck, call it ~/etc instead of ~/.common_dotfiles and you've started on
your way to building a feature of home directory organization that lots
of people want.)
Personally, I don't see much reason to use externals. I just check out a
common base home directory, and then check out the subdirectories I
want on an ad-hoc basis. Then again, I don't go logging in to new
machines a whole lot.
Ken Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the vcs-home