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

Re: svn info tree conflicts bug using svn 1.10.6?

From: Yasuhito FUTATSUKI <futatuki_at_yf.bsdclub.org>
Date: Wed, 20 Jan 2021 03:49:15 GMT

In article <CAJT2EHqMoFfCQ464+=B=f69-aL19Q=9eBPjZ5xACdJ=0ftnZqw_at_mail.gmail.com>
hartman.nathan_at_gmail.com writes:

> On Tue, Jan 19, 2021 at 12:45 PM Matthews, David
> <david.matthews_at_metoffice.gov.uk> wrote:
> >
> > I appear to be getting incorrect results reported by "svn info --xml" for a file which has tree conflicts.
> >
> > I'm testing with svn 1.10.6 (and 1.9.12 which doesn't have this problem).
>
> Without digging deeper yet, I see it with 1.13.0 as well: 'svn info'
> output is correct, but with '--xml' it shows the wrong right side of
> conflict.

... and trunk r1885656 as well.

Parhaps this will fix it:
[[[
Index: subversion/svn/cl-conflicts.c
===================================================================
--- subversion/svn/cl-conflicts.c (revision 1885656)
+++ subversion/svn/cl-conflicts.c (working copy)
@@ -452,7 +452,7 @@
                                      repos_root_url, repos_relpath, peg_rev,
                                      node_kind, pool));
 
- SVN_ERR(svn_client_conflict_get_incoming_old_repos_location(&repos_relpath,
+ SVN_ERR(svn_client_conflict_get_incoming_new_repos_location(&repos_relpath,
                                                               &peg_rev,
                                                               &node_kind,
                                                               conflict,
]]]

Cheers,

-- 
Yasuhito FUTATSUKI <futatuki_at_yf.bsdclub.org>
Received on 2021-01-20 04:52:18 CET

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.