[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-cvs
Subject:    Re: svn commit: rev 571 - trunk/subversion/libsvn_wc
From:       cmpilato () collab ! net
Date:       2001-11-30 4:19:46
[Download RAW message or body]

Doh.  I knew that.  Just a brain-fart.  Works in my tests because our
current uses of the existence flags are limited to "deleted" or
nothing. :-)  Good catch, though.

> Author: gstein
> Date: 2001-11-29 22:43 GMT
> New Revision: 571
> 
> Modified:
>    trunk/subversion/libsvn_wc/adm_crawler.c
> Log:
> (report_single_mod): ! binds tighter than ==. The result is that the
>   verify_tree_deletion() would never be called. Simply using != works
>   as desired.
> 
> 
> Modified: trunk/subversion/libsvn_wc/adm_crawler.c
> ==============================================================================
> --- OLD/trunk/subversion/libsvn_wc/adm_crawler.c	Thu Nov 29 16:43:12 2001
> +++ NEW/trunk/subversion/libsvn_wc/adm_crawler.c	Thu Nov 29 16:43:12 2001
> @@ -1119,7 +1119,7 @@
>           sure that all the directory's children are also marked for
>           deletion.  If not, we're in a screwy state. */
>        if ((entry->kind == svn_node_dir) 
> -          && (! entry->existence == svn_wc_existence_deleted))
> +          && (entry->existence != svn_wc_existence_deleted))
>          SVN_ERR (verify_tree_deletion (full_path, entry->schedule, 
>                                         (*stack)->pool));
>  
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic