On Wed, Nov 02, 2005 at 06:39:53PM -0500, Daniel Berlin wrote:
> Of course, the question always raised when you try to do this is "why is
> this better than just using shell variables"
> 
> if you can give me a good answer to take back to [EMAIL PROTECTED], i'm
> happy to

If we had something to expand to "Repository Root", then you
would have a mechanism that would automatically work in whatever
repository you're currently working in.  Something that can't be
said about shell variables.

Even better if we can choose something that isn't already a shell
meta character, and so needs no quoting itself.

What if we let "^[+]" substitute Repository Root?  We'd get

  svn diff +/trunk/gcc/foo.c foo.c

I'm undecided if automatically appending a / to the expansion is
helpful.  It probably is, since essentially all uses need it.


r~

Reply via email to