You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Adam Gibson <ag...@ptm.com> on 2004/03/25 14:45:55 UTC

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

Probably too many issues with doing it this way and it was probably
ruled out already long ago since it seems such an easy way to do it to
me, but it would be very nice to just have the current url for the
project used for parent paths:

Assuming structure in the repository is:
proj1|
     |-trunk
     |-tags

svn co http://svnhost/svn/proj1/trunk svnproj1trunk

cd svnproj1trunk

svn cp ../trunk ../tags/proj1-1.0.2

Let it use the existing url for the current project.  If you need to
reference something differently than the current repository access
method then use the file:// or http:// method to specify.

This subject should probably be moved to the dev list where I am sure
someone would be able to flank this idea pretty quickly :)

On Thu, 2004-03-25 at 07:59, 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. 
-- 
Adam Gibson <ag...@ptm.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org