This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: svn diff branch woprking copy against mainline?
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 dev@subversion, 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~