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

Re: Recent binding test failures

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-02-20 09:30:39 CET

On Fri, 10 Feb 2006, Kouhei Sutou wrote:

> In <Pine.LNX.4.55.0602082248230.6433@localhost.localdomain>
> "Re: Recent binding test failures" on Wed, 8 Feb 2006 22:51:16 +0100 (CET),
> "Peter N. Lundblad" <peter@famlundblad.se> wrote:
>
> > > ctx->notify_func = collect_notify_path_function;
> > > svn_client_commit(ctx);
> > >
> > > assert(collected_notify_paths == [path1, path2]);
> > > # but
> > > # collected_notify_paths == [path1, path2, full_path_of_path2]
> > >
> > >
> > > Is this helps you?
> > >
> > No:-( Is that collected_notify_paths what the notification callback gets?
> > I don't understand. When I move a file in a test repo, the notifier only
>
> collect_notify_paths just only collect notified paths by
> using passed svn_wc_notify_t * object. And it assigns
> collected notified paths to collected_notify_paths.
>
> Is this explain help you?
>
>
> > When I move a file in a test repo, the notifier only
> > gives two paths.
>
> Could you show us your test code?

I try to reproduce this using the cmdline client. Maybe this can only be
triggered using the API? :-( Below is my script. The output looks
correct to me.

echo s1 > f1
svn add f1
svn ci -m m
echo s2 > f1
echo "Below should fail!"
svn mv f1 f2
svn cleanup
echo "MOve --force:"
svn mv --force f1 f2
svn ci -m m

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 20 09:33:51 2006

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.