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?
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Mike Stump <mrs at apple dot com>
- Cc: Joern RENNECKE <joern dot rennecke at st dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 02 Nov 2005 18:28:42 -0500
- Subject: Re: svn diff branch woprking copy against mainline?
- References: <43693B4A.9060905@st.com> <66F67765-4AF2-4AAC-97A4-3095F1405752@apple.com>
On Wed, 2005-11-02 at 14:33 -0800, Mike Stump wrote:
> On Nov 2, 2005, at 2:18 PM, Joern RENNECKE wrote:
> > I tried:
> > bash-2.05b$ svn diff Makefile.in svn+ssh://amylaar@gcc.gnu.org/svn/
> > gcc/trunk/gcc/Makefile.in@106390
> >
> > But that gives me an error message:
> >
> > svn: Target lists to diff may not contain both working copy paths
> > and URLs
>
> This works for us:
>
> svn diff --old svn+ssh://gcc.gnu.org/svn/gcc/tags/gcc_4_0_1_release/
> gcc/file.c --new file.c
>
> for example.
>
> svn needs to go on a long command line diet,
True.
However, it *does* need some way to differentiate between url->url,
url->wc, and wc->url commands, so even if there was an SVNROOT, you'd
still have to specify it on the command lines :)
> it is seriously no fun
> to repeat things, over, and over. In cvs, I used the equivalent of
> svn+ssh://gcc.gnu.org/svn/gcc once a year or so, with svn, it is just
> annoying.
>
There's been talk of a DEFAULTREPO or allowing substitutions and aliases
in the config file, or something