tags:

views:

186

answers:

1

I have a Subversion repository on a BSD box using svnserve and I'm accessing it with a BSD client via:

svn co svn://my.domain.com/my/repo/dirs ...

which is fine, but I always access using the same domain and I often have to checkout serveral different directories and retyping the domain is a pain. The svnserve binary is invoked as a daemon and with a specified root directory:

svnserve -d -r /svn/root

I'd like to to configure my subversion client so I can type something like:

svn co dir1/ dir2/subdir dir2/subdir2/

to check in, check out and whatever else since the domain never changes. It would also be nice to have a default directory to check out the files to. I've looked in the book but haven't found anything. I could do this via the shell but it seems like a facility that Subversion might have.

Did I not read the book well enough or is it not possible?

A: 

I have been looking at this for a while now, waiting for a good answer. Unfortunately nobody had any. (Have you tried on superuser.com?)

Anyway, one idea that occurred to me last night is that you could use environment variables. That would turn

svn co svn://my.domain.com/my/repo/prj1

into

svn co $MY_REPO/prj1
sbi
Yes, that's what I as alluding to in my post regarding the shell.
gvkv