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

RE: svn commit: r1037992 - in /subversion/trunk/subversion: libsvn_client/export.c tests/cmdline/export_tests.py

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 23 Nov 2010 11:24:45 +0100

> -----Original Message-----
> From: danielsh_at_apache.org [mailto:danielsh_at_apache.org]
> Sent: dinsdag 23 november 2010 5:35
> To: commits_at_subversion.apache.org
> Subject: svn commit: r1037992 - in /subversion/trunk/subversion:
> libsvn_client/export.c tests/cmdline/export_tests.py
>
> Author: danielsh
> Date: Tue Nov 23 04:35:18 2010
> New Revision: 1037992
>
> URL: http://svn.apache.org/viewvc?rev=1037992&view=rev
> Log:
> Add notifications for file exports, and adjust one test of a pair.
>
> * subversion/libsvn_client/export.c
> (copy_versioned_files): Make a notification in the non-recursive
> case.
>
> * subversion/tests/cmdline/export_tests.py
> (export_file_to_explicit_cwd):
> Adjust expectations.
> Rewrite to line-for-line resemble export_url_to_explicit_cwd().
>
> Modified:
> subversion/trunk/subversion/libsvn_client/export.c
> subversion/trunk/subversion/tests/cmdline/export_tests.py
>
> Modified: subversion/trunk/subversion/libsvn_client/export.c
> URL:
> http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/
> export.c?rev=1037992&r1=1037991&r2=1037992&view=diff
> =======================================================================
> =======
> --- subversion/trunk/subversion/libsvn_client/export.c (original)
> +++ subversion/trunk/subversion/libsvn_client/export.c Tue Nov 23
> 04:35:18 2010
> @@ -529,6 +529,15 @@ copy_versioned_files(const char *from,
> SVN_ERR(copy_one_versioned_file(from_abspath, to_abspath, ctx-
> >wc_ctx,
> revision, native_eol,
> ignore_keywords,
> pool));
> +
> + /* Notify. */
> + {
> + svn_wc_notify_t *notify = svn_wc_create_notify(to_abspath,
> +
> svn_wc_notify_update_add,
> + pool);
> + notify->kind = svn_node_file;
> + (ctx->notify_func2)(ctx->notify_baton2, notify, pool);
> + }

ctx->notify_func2 can be NULL here when used from a different client than svn.

        Bert
Received on 2010-11-23 11:25:23 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.