You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Rui, Guo" <ti...@mail.ustc.edu.cn> on 2008/08/28 14:29:39 UTC

Re: svn commit: r32265 - branches/issue-2843-dev/subversion/libsvn_wc

Karl, I am finally back from my trip and able to response to your revies.
See the comments below.

On Sun, Aug 17, 2008 at 09:59:26AM -0400, Karl Fogel wrote:
> firemeteor@tigris.org writes:
> > Log:
> > On the issue-2843-dev branch.
> >
> > Fix a problem when trying to pull in an excluded target while it is actually
> > gone in the repos.
> >
> > * subveraion/libsvn_wc/update_editor.c
> >   (complete_directory): Remove the target if it is both excluded locally and
> >    removed in repos.
> >
> > --- branches/issue-2843-dev/subversion/libsvn_wc/update_editor.c
> > +++ branches/issue-2843-dev/subversion/libsvn_wc/update_editor.c
> > @@ -450,6 +450,13 @@ make_dir_baton(struct dir_baton **d_p,
> >  }
> >  
> >  
> > +/* Forward declaration. */
> > +static svn_error_t *
> > +do_entry_deletion(struct edit_baton *eb,
> > +                  const char *parent_path,
> > +                  const char *path,
> > +                  int *log_number,
> > +                  apr_pool_t *pool);
> 
> Is this forward declaration really necessary?  Why not just put
> the definition of do_entry_deletion() here instead?  (I looked at its
> body, and didn't see any circular dependencies that would require a
> forward declaration... Was it the call to leftmod_error_chain() you were
> worried about?)
> 
The forward declaration is not necessary but results in less modification. I
did not think much about this, should I move the whole function altogether
instead?

Rui

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: r32265 - branches/issue-2843-dev/subversion/libsvn_wc

Posted by Karl Fogel <kf...@red-bean.com>.
"Rui, Guo" <ti...@mail.ustc.edu.cn> writes:
>> Is this forward declaration really necessary?  Why not just put
>> the definition of do_entry_deletion() here instead?  (I looked at its
>> body, and didn't see any circular dependencies that would require a
>> forward declaration... Was it the call to leftmod_error_chain() you were
>> worried about?)
>> 
> The forward declaration is not necessary but results in less modification. I
> did not think much about this, should I move the whole function altogether
> instead?

I think moving the whole function now would be fine, yes.  Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org