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

Re: svn commit: r16141 - in trunk/subversion: libsvn_wc tests/clients/cmdline/svntest

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2005-09-21 20:14:07 CEST

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

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.