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

Re: Subclipse merge- cannot replace from within

From: Mark Phippard <markp_at_softlanding.com>
Date: 2005-10-11 21:30:45 CEST

"Brian E. Fox" <brianf@reply.infinity.nu> wrote on 10/11/2005 03:22:04 PM:

> Why is it not 25? Also in the TO revision, it changed from head to 25.
> There where no differences between 24 and 25, ever it seems because 24
> isn't on my branch.

With the merge dialog open press F1, then navigate to the help from the
popup.

The revision picker for this dialog operates under the assumption that you
will pick the revision or revision range that you want to merge. Assuming
you want to merge the changes committed in revision N, the syntax in
Subversion for doing so is to specify a from value of N-1 and a to value
of N. So if the changes you want were committed in revision 25, the
syntax to merge that revision is a from of 24 and a to of 25.

> When I click dry run or merge, I get the following error:
> merge --dry-run -r24:HEAD
> svn: Cannot replace a directory from within

I would search the Subversion users@ list and also their FAQ. I know this
comes up a lot. I believe it most typically occurs when you include in
your revision the revision when the branch was created. And the text of
your message confirms this. If you created your branch in revision 25,
and committed the fixes in revision 26. Then you only want to merge the
latter.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Wed Oct 12 05:30:45 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.