[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-11-03 17:48:03 CET

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

> 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; 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.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 3 17:50:03 2005

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