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

Re: Feature Req: sorthand urls for branches/tags in CLI

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Fri, 23 Aug 2013 02:58:05 +0300

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.
Received on 2013-08-23 01:58:46 CEST

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.