[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RFC -- Configurable Diff Path

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: 2007-07-17 17:53:06 CEST

Mark,
    This thread started during a talk with Eric on irc yesterday.
Apparently, issue 2723 was what needed to be done but there was a
related issue/feature/concern that was discussed that was related to
issue 2723. I was asked to mention it here to get more clarity of the
idea and also to discuss the issue. I'm hoping Eric will chime in
sometime today. I do understand your concerns and backward
compatibility is the top priority in the event that this topic spawns
a feature/issue to be worked upon.

Take care,

Jeremy

On 7/17/07, Mark Phippard <markphip@gmail.com> wrote:
> On 7/16/07, Jeremy Whitlock <jcscoobyrs@gmail.com> wrote:
> > While working on issue 2723, which will update the core diff API
> > to have a method argument to specify the format (absolute or relative)
> > of the Index path output, has brought up conversation about having the
> > "svn diff" subcommand support an argument to override the default
> > handling of the Index path output. As of now, here are the tested
> > scenarios:
> >
> > Scenario 1
> > ---------------
> > svn diff RELATIVE_PATH_TO_WC (Outputs RELATIVE_PATH_TO_WC/MODIFIED_PATH)
> >
> > Scenario 2
> > ---------------
> > svn diff ABSOLUTE_PATH_TO_WC (Outputs ABSOLUTE_PATH_TO_WC/MODIFIED_PATH)
> >
> > Scenario 3
> > ---------------
> > svn diff -rOLD:NEW URL_TO_PATH (Outputs
> > PATH_RELATIVE_TO_REPO_ROOT/MODIFIED_PATH)
> >
> > Now...why does this matter? Well, all of these scenarios end up with
> > the Index path not being -p0 compliant, which is the standard for most
> > project patches.
>
> I do not know about this, but I will take your word for it. I do not
> recall a lot of complaints about the format of svn diff output though,
> so I'd be careful in changing the command line. This request was all
> about JavaHL. In that environment we have not control over the CWD so
> we always have to use absolute paths. This of course makes the
> patches that we produce using Subclipse more difficult for the user to
> apply.
>
> Now, I am not against expanding the scope of this issue to include
> changing the command line as well. I just think you need to be
> careful about doing so unnecessarily. I would rather see the change
> happen in the libraries and API and let a change to the command line
> UI come out of an actual request for it.
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 17 17:52:18 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.