Author: julianfoad
Date: Wed May 4 10:55:30 2011
New Revision: 1099409
URL: http://svn.apache.org/viewvc?rev=1099409&view=rev
Log:
* subversion/libsvn_client/deprecated.c
(downgrade_commit_copied_notify_func): Fix a copy-paste-o that would have
caused the old svn_client_commit4() API to produce one of the new-in-1.7
notification constants. A follow-up to r1079508.
Modified:
subversion/trunk/subversion/libsvn_client/deprecated.c
Modified: subversion/trunk/subversion/libsvn_client/deprecated.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/deprecated.c?rev=1099409&r1=1099408&r2=1099409&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/deprecated.c (original)
+++ subversion/trunk/subversion/libsvn_client/deprecated.c Wed May 4 10:55:30
2011
@@ -449,10 +449,10 @@ downgrade_commit_copied_notify_func(void
my_notify = svn_wc_dup_notify(notify, pool);
my_notify->action = svn_wc_notify_commit_added;
}
- else if (notify->action == svn_wc_notify_commit_copied)
+ else if (notify->action == svn_wc_notify_commit_copied_replaced)
{
my_notify = svn_wc_dup_notify(notify, pool);
- my_notify->action = svn_wc_notify_commit_added;
+ my_notify->action = svn_wc_notify_commit_replaced;
}
/* Call the wrapped notification system (if any) with MY_NOTIFY,