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

Re: Auto-subst of repository roots (was Re: svn diff branch woprking copy against mainline?)

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-11-03 18:18:50 CET

On Thu, 2005-11-03 at 11:48 -0500, Greg Hudson wrote:
> On Thu, 2005-11-03 at 10:26 -0500, Daniel Berlin wrote:
> > > I worry that adding an auto-subst of repository roots will not be enough
> > > to justify the cost.
> >
> > How so?
> > It's like 20 lines of code.
>
> I'm more concerned about the cost to people who happen to start paths
> with + or = or whatever. arch uses pathnames like this for its metadata
> files; I'm sure someone else has had the same idea for their project
> files.
>
> > And it saves about 60-80 chars out of 200 on a gcc command line
> > (30-35%).
>
> Yes, but realistically, it takes us from "too much typing to be
> practical" to "still too much typing to be practical". Developers will
> still have to create and remember shell variables to make diffing
> against a branch reasonable, and will have to check or remember where
> they are in the tree even so.
>
> I realize you're looking for quick, easy changes to make your
> developers' lives easier, which won't get bogged down in design. I'm
> not sure if there is one here. Your proposal creates an edge case where
> Subversion does something totally wrong once in a while;

You could always make it url syntax, like
repos://

which we can't get wrong in this manner
Unless you think someone is about to come out with the "repos"
protocol :)

> I'm willing to
> do that in order to solve a problem, but I'm not happy about doing so to
> 30%-solve a problem.

I'd be happy to try your solution at the same time. I just fear it will
have a lot more implementation corner cases in substitution, etc

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 3 18:19:38 2005

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

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