[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: NEW FEATURE REQ: ability to specify/use aliases for repository URLs

From: Dirk Dierckx <dirk.dierckx_at_rekencentra.be>
Date: 2004-03-25 14:14:47 CET

On 2004-03-25 15:59 +0300, Dmitry S. Radzevich wrote:
> Hello.
> Sometimes it is tedious and error-prone to constantly type in full URLs for
> repository access (for instance, for copying / moving files and dirs in
> repository, merging, etc.).
> I guess it would help, if users could define shortcuts / aliases that would
> be substituted when mentioned in URLs.
> A possible working scenario follows:
> 1) define a shortcut: myrepo=http://my_host/path/to/repo/Project/trunk
> 2) use it in URLs: svn mv alias:myrepo/doc/test.txt
> alias:myrepo/old_docs/test_old.txt
> ('alias' - is a new schema prefix to distiguish aliases / shortcuts)
> The mappings for shortcuts/aliases can be defined in the config file in
> runtime configuration area.

Why don't you use the features already available in your shell?

$ MYREPO=http://my_host/path/to/repo/Project/trunk
$ svn co $MYREPO


$ MYREPO=http://my_host/path/to/repo
$ svn co $MYREPO/Project/trunk



Dirk Dierckx
Software Engineer
D780 C49E 4130 19BE 3C61  423E A694 DD14 F980 EA86
I'm having a BIG BANG THEORY!!

  • application/pgp-signature attachment: stored
Received on Thu Mar 25 14:15:32 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.