[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-08 22:51:16 CET

On Thu, 9 Feb 2006, Kouhei Sutou wrote:

> In <Pine.LNX.4.55.0602070923570.1900@localhost.localdomain>
> "Recent binding test failures (was: Re: swig-rb trunk r18363: FAIL (x86_64-unknown-linux-gnu shared))" on Tue, 7 Feb 2006 09:27:31 +0100 (CET),
> "Peter N. Lundblad" <peter@famlundblad.se> wrote:
>
> > failure reports for all bindings tests on trunk from Jani. The Ruby tests
> > seem to fail in some move_force test, which makes me suspicious about a
> > recent commit of mine. But I know too little about the bindings to start
> > digging and the other failure mails seem more serious.
>
> The revision is r18320, isn't it?
>
> I don't know the problem, but I can explain what the test
> do with pseudo code:
>
> path1 = "sample1.txt";
> path2 = "sample2.txt";
>
> ctx = svn_client_create_context();
> file1 = open(path1);
> write(file1, "source1\n");
> svn_client_add(ctx, path1);
> svn_client_commit(ctx);
>
> file1 = open(path1);
> write(file1, "source2\n");
>
> assert(svn_client_move(ctx, path1, path2) == SVN_ERR_CLIENT_MODIFIED);
> svn_client_cleanup(ctx);
>
> assert(svn_client_move_force(ctx, path1, path2) == 0);
> 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
gives two paths.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 8 22:51:52 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.