[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: Alan Barrett <apb_at_cequrux.com>
Date: 2005-11-03 09:43:35 CET

On Wed, 02 Nov 2005, Daniel Berlin wrote:
> Uh, right now, to diff the gcc 4.0 branch against a working copy file,
> one has to type
> svn diff
> --old=svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch/gcc/file.c
> --new file.c

And in cvs, one would just do: cvs diff -r GCC_4_0_BRANCH file.c

> To diff 3.4 against 4.0
> svn diff
> --old=svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch/gcc/file.c
> --new=svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch/gcc/file.c

In cvs: cvs diff -r GCC_4_0_BRANCH -r GCC_3_4_BRANCH file.c

Now consider how this scales as the last part (after the branch name)
changes from the relatively simple "gcc/file.c" to something more
complex like "gnu/dist/gcc/gcc/fixinc/tests/base/arch/i960/archI960.h"
(a real example from the NetBSD CVS repository). Even the proposed "+"
syntax doesn't buy you much.

--apb (Alan Barrett)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 3 09:49:59 2005

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