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

Re: [PATCH] Revert and svn:needs-lock

From: D.J. Heap <dj_at_shadyvale.net>
Date: 2005-04-28 22:32:26 CEST

D.J. Heap wrote:
>
> After more investigation, I've found this is not always the case. If
> you 'svn revert D:\Temp\wc\file.txt' from outside the working copy,
> then svn_wc_get_prop_diffs doesn't seem to work right -- it doesn't
> return any property diffs.

This appears to be a simple fix, patch attached.

DJ

Index: subversion/libsvn_wc/adm_ops.c
===================================================================
--- subversion/libsvn_wc/adm_ops.c (revision 14500)
+++ subversion/libsvn_wc/adm_ops.c (working copy)
@@ -1231,7 +1231,7 @@

       /* Get the full list of property changes and see if any magic
          properties were changed. */
- SVN_ERR (svn_wc_get_prop_diffs (&propchanges, NULL, name ? name : "",
+ SVN_ERR (svn_wc_get_prop_diffs (&propchanges, NULL, fullpath,
                                       adm_access, pool));

       /* Determine if any of the propchanges are the "magic" ones that

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 28 23:29:33 2005

This is an archived mail posted to the Subversion Dev mailing list.