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

Re: copy between repos works and doesn't work

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-09-09 13:50:48 CEST

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! :-)

> 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.)

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 9 13:51:38 2005

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