Subversion: location alias definition

I have a Subversion repository in the BSD field using svnserve and I access it with the BSD client through:

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

this is normal, but I always get access to one domain, and I often have to check several different directories and rename the domain - this is a pain. The svnserve binary is called as a daemon and with the specified root directory:

svnserve -d -r /svn/root

I would like to configure my subversion client to type something like:

svn co dir1/ dir2/subdir dir2/subdir2/

to check, check and everything else, because the domain never changes. It would be nice to have a default directory for checking files. I looked in the book but found nothing. I could do this through the shell, but it looks like an object that Subversion can have.

I have not read the book well enough or is it impossible?

+3
2

- , . , . ( superuser.com?)

, , , , .

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

svn co $MY_REPO/prj1
+2

URL- Subversion , , . Subversion , . , CVS, Subversion , . , Subversion, , , Subversion, , .

URL- , . bash, .bash_profile;

export repo="http://svn.vegicorp.net/repo"

:

$ svn co $repo/trunk/project

. Unix , , .

svn- script, , diffs:

$ mysvn branch foo
$ mysvn repo $repo
$ mysvn co project               # svn co $repo/branches/foo/project
$ mysvn bdiff trunk 4.1 project  # svn diff $repo/trunk/project $repo/branches/4.1/project

( Subversion ), , .

+1

Source: https://habr.com/ru/post/1721288/


All Articles