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

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

From: Rui, Guo <timmyguo_at_mail.ustc.edu.cn>
Date: Thu, 28 Aug 2008 22:29:39 +0800

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_at_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_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-28 16:29:55 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.