On Mon, 19 Sep 2005, kfogel@collab.net wrote:
> dlr@tigris.org writes:
> > --- trunk/subversion/libsvn_wc/copy.c (original)
> > +++ trunk/subversion/libsvn_wc/copy.c Thu Sep 15 18:55:47 2005
> > @@ -516,19 +516,31 @@
...
> > + if (strcmp (src_entry->repos, dst_entry->repos) != 0)
> > + return svn_error_createf
> > + (SVN_ERR_WC_INVALID_SCHEDULE, NULL,
> > + _("Cannot copy to '%s', as it is not from repository '%s'"),
> > + svn_path_local_style (svn_wc_adm_access_path (dst_parent), pool),
> > + src_entry->repos);
> > + if (dst_entry->schedule == svn_wc_schedule_delete)
> > return svn_error_createf
> > (SVN_ERR_WC_INVALID_SCHEDULE, NULL,
> > _("Cannot copy to '%s' as it is scheduled for deletion"),
> > svn_path_local_style (svn_wc_adm_access_path (dst_parent), pool));
>
> As long as we're constructing an error anyway, perhaps it should give
> the dst_entry->repos as well, so the user has all the information at
> hand?
r16191
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 21 20:14:26 2005