Joe Buck - Re: svn diff branch woprking copy against mainline? (original) (raw)
This is the mail archive of the gcc@gcc.gnu.orgmailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] |
- From: Joe Buck
- To: Daniel Berlin
- Cc: Mike Stump ,Joern RENNECKE , gcc at gcc dot gnu dot org
- Date: Wed, 2 Nov 2005 16:58:30 -0800
- Subject: Re: svn diff branch woprking copy against mainline?
- References: <43693B4A.9060905@st.com> <66F67765-4AF2-4AAC-97A4-3095F1405752@apple.com> <1130974123.7280.88.camel@IBM-82ZWS052TEN>
On Wed, Nov 02, 2005 at 06:28:42PM -0500, Daniel Berlin wrote:
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 URLsThis 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 certainly seems that --old and --new are redundant. Also, you could consider stealing some ideas from Perforce, where the command would be something like
p4 diff file.c@gcc_4_0_1_release file.c
and the RCS figures out how to map the label to the repository version. Basically, the # and @ characters are special; # is used to introduce a revision number (the global revision number), and a number of things can follow @, like a label, or a date.
- Follow-Ups:
- Re: svn diff branch woprking copy against mainline?
* From: Branko Äibej
- Re: svn diff branch woprking copy against mainline?
- References:
- svn diff branch woprking copy against mainline?
* From: Joern RENNECKE - Re: svn diff branch woprking copy against mainline?
* From: Mike Stump - Re: svn diff branch woprking copy against mainline?
* From: Daniel Berlin
- svn diff branch woprking copy against mainline?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |