On Fri, 09 Sep 2005, Peter N. Lundblad wrote:
>
>
> On Thu, 8 Sep 2005, Guilherme de S. Pastore wrote:
>
> > I've just got this bug through the Debian Bug Tracking System, confirmed
> > it and am, hence, forwarding it here =)
> >
> > The issue is pretty simple: copying files between two checkouts of
> > different repositories apparently works at first, and only fails at
> > commit time. For example:
> >
> > $ svn cp bar-co/version.py foo-co/
> > A foo-co/version.py
> >
> > $ svn commit
> > Adding version.py
> > svn: Commit failed (details follow):
> > svn: Source url 'file:///home/gpastore/svn/bar/version.py' is from
> > different repository
> > svn: Your commit message was left in a temporary file:
> > svn: '/home/gpastore/svn/foo-co/svn-commit.tmp'
> >
> > It would be really great if copying files from one repository to another
> > were supported, but in case you don't agree, it should at least throw an
>
> It would be great! :-)
I agree that this would be nice! FWIW though, this is somewhat tricky to
implement with mod_dav and libsvn_ra_dav, which demand that not only the
destination scheme, host name, and port match, but that the path to the
repository also match.
I came across these issues recently while implementing a Subversion proxy
using Apache httpd.
> > error at the user's face, perhaps even "Sorry, copying between different
> > repositories is not supported", or whatever.
>
> This has changed on trunk as part of the addition of repository root URL
> to the .svn/entries file. Now the copy fails, but after the file was
> copied on the disk. A simple check could probably make it fail even before
> that happens. Would you mind opening an isue for this, and linking to this
> thread? (You could add your Debian issue address as a CC.)
Guilherme, did you have a chance to open a SVN issue for this yet?
- Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 14 23:55:08 2005