subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <danie...@elego.de>
Subject Re: Feature Req: sorthand urls for branches/tags in CLI
Date Thu, 22 Aug 2013 23:58:05 GMT
Laszlo Kishalmi wrote on Thu, Aug 22, 2013 at 23:15:04 +0200:
> Implementation ideas:
> 	We put a specific property on project1 folder let's call it
> 	svn:branches for now. Here we could describe the layout of
> 	branches and tags for that part of repository. E.g.:
> 	a) Using prefixes:
> 		/
> 		/branches/
> 		/tags/
> 	b) Using some custom mapping/lists:
> 		trunk
> 		branches/*
> 		tags/*
> 	c) Using regexp captures:
> 		(trunk)
> 		branches/(\w+)
> 		tags/(\w+)
> 	Having this info, the path where this property is set, the name
> 	of the branch and the current path relative to wc root it is
> 	possible to construct a repository URL to be used.

How do you handle collisions --- e.g., branches/foo and tags/foo ?

> As far as I currently see there would be no change required on server side.

Yes.  There's the svn:externals parser to consider but it's client-side too.

Mime
View raw message