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

Re: Problem merging a copy

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-09-25 16:05:27 CEST

On 9/25/06, Luigi Paioro <luigi@lambrate.inaf.it> wrote:
> Hello.
>
> I've got a project, suppose named PrjA, versioned with Svn within a
> proper repository. In another Svn repository, I've another project
> named, suppose, PrjB. Within a directory of PrjA I've copied a past
> version of PrjA (no external link, just a copy), in order to create a
> separated branch. Such branch now has some functions which are obsolete
> and need to be updated. So I've used the merge command to update the new
> branch with PrjA[HEAD] revision:
>
> ~luigi/PrjB/PrjA > svn merge 1280:HEAD http://myurl.it/svn/PrjA/trunk
>
> Everything works well, but when I try to commit the PrjB changes Svn
> tells me:
>
> svn: Commit failed (details follow):
> svn: Copy source and destination are in different repositories.
>
> How can be possible? What's the problem?

The problem is that you can't merge from one repository into another.
It's just not possible with the current svn client tools. If you want
to transfer the revision history you'll have to use something like
svnadmin dump/load and svndumpfilter.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 25 16:06:21 2006

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