Why the branch?
Looks like a quite obvious fix to me, so you could have just committed this
to trunk.

+1 on backporting this fix, although I would recommend users of the old
(pre 1.7) api to upgrade to the newer status apis, as that makes an insane
amount of performance difference on most platforms.

   Bert

On Thu, Sep 1, 2022 at 4:10 PM <hartmannat...@apache.org> wrote:

> Author: hartmannathan
> Date: Thu Sep  1 14:10:23 2022
> New Revision: 1903814
>
> URL: http://svn.apache.org/viewvc?rev=1903814&view=rev
> Log:
> On the 'issue-4908' branch, add the proposed fix
>
> * subversion/libsvn_wc/deprecated.c
>   (svn_wc__status2_from_3): To allow users of deprecated APIs, such as
> PySVN,
>    to detect working copy locked status, copy 'locked' from old_status to
>    status.
>
> Modified:
>     subversion/branches/issue-4908/subversion/libsvn_wc/deprecated.c
>
> Modified: subversion/branches/issue-4908/subversion/libsvn_wc/deprecated.c
> URL:
> http://svn.apache.org/viewvc/subversion/branches/issue-4908/subversion/libsvn_wc/deprecated.c?rev=1903814&r1=1903813&r2=1903814&view=diff
>
> ==============================================================================
> --- subversion/branches/issue-4908/subversion/libsvn_wc/deprecated.c
> (original)
> +++ subversion/branches/issue-4908/subversion/libsvn_wc/deprecated.c Thu
> Sep  1 14:10:23 2022
> @@ -2815,6 +2815,7 @@ svn_wc__status2_from_3(svn_wc_status2_t
>      }
>
>    (*status)->entry = entry;
> +  (*status)->locked = old_status->locked;
>    (*status)->copied = old_status->copied;
>    (*status)->repos_lock = svn_lock_dup(old_status->repos_lock,
> result_pool);
>
>
>
>

Reply via email to