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

Re: ra_replay, mergeinfo and externals

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 9 Mar 2011 13:44:49 +0200

Patrick Mézard wrote on Wed, Mar 09, 2011 at 09:54:13 +0100:
> Le 09/03/11 03:27, Daniel Shahaf a écrit :
> > Patrick Mézard wrote on Tue, Mar 08, 2011 at 22:23:04 +0100:
> >> Hello,
> >>
> >> When replaying a revision merging an svn:externals property from a branch B to another A, using the svn python binding for svn_ra_replay, I get a property change event for svn:mergeinfo, but no event for the svn:externals property being merged into A. Is it expected?
> >>
> >> I hoped the replay API would generate all the events necessary to recreate the repository being replayed without additional calls. Do I need to retrieve the merged properties manually?
> >>
> >> This is with macports "svn, version 1.6.13 (r1002816)". A script to reproduce the input repository is attached.
> >
> > Does svnsync manage to replicate that svn:externals property?
> >
> > If yes, then the replay API does provide it to you.
>
> Yes, svnsync does replicate it. I will look at svnsync implementation
> and try to come back with a minimalist python sample if I cannot get
> it to work.
>

Personally, I'd start by looking at the declaration of
svn_delta_editor_t (the C interface) --- I'm sure it doesn't have more
than 2-3 functions that take a props_hash/prop_name/etc arguments.

> Thanks.
>
> --
> Patrick Mézard
Received on 2011-03-09 12:45:49 CET

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

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