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

Re: svn_client_diff_peg4() returns inverse diff

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-07-30 14:59:01 CEST

On Sat, Jul 28, 2007 at 10:00:20AM -0700, Kyle McKay wrote:
> >> Stefan, can you provide an example with the command-line using specific
> >> WORKING revisions? I tried the following (which exercises
> >> svn_client_diff_peg4), but was unable to reproduce -- switching the START
> >> and END revisions did reverse the diff output.
> >> svn di -r25820:25862 subversion/libsvn_client@25862
> >
> > As I already mentioned, it's not possible to give an example with the
> > command line: it doesn't understand WC or WORKING as revision arguments.
> > The problem only occurs if one of the revisions to diff is 'working copy',
> > not a revision number.
> >
> > Stefan
>
> FYI, issue 2683 <http://subversion.tigris.org/issues/show_bug.cgi?id=2683>
> contains a patch to support WORKING revision arguments. It currently has a
> target milestone of "---".

... and one of the reasons it hasn't been committed is because there are
known bugs with some of the commands' handling of rWORKING... for
example, diff.

However, we can't easily test and fix these bugs without first having
support in the command-line client - and meanwhile, it's still broken
for other users of the API. Perhaps we should just commit the patch
to add rWORKING anyway, and try to shake out the bugs afterwards?

I might do that, if there aren't any objections.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Mon Jul 30 14:57:36 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.