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

[Subclipse-users] problem with merge command

From: Francesco Zanitti <f.zanitti_at_tecnoteca.it>
Date: 2007-10-29 16:30:34 CET

Hi everybody,
recently we have begun to use the subversion repository and now i'm facing
the following problem with subclipse plugin (got the same problem with
command line tool too):

the repository is quite simple:

                          /NewFeatureBranch--(rev.242)--
                        /
MainTrunk--------------(rev.252)-----------------------

that is, we have a main trunk where we resolve bugs and i've started a new
branch to develop a new feature of our product.

Now i need to reflect the bug fix in the main trunk to the NewFeatureBranch
, so i've tried to do a merge with the main trunk (head revision for both,
tried also with "ignore ancestry").
The results are that the working copy now is exactly the same as the main
trunk. The new files i've done in the branch have gone and the files i've
updated have been "reverted" to the ones in the MainTrunk.
Clearly i'm missing something!

I've tried also with the command line tools, issuing the following command:
svn checkout
svn://192.168.1.29/repository/MyProject/branches/NewFeatureBrach_at_HEAD nfb
svn merge --ignore-ancestry
svn://192.168.1.29/repository/MyProject/branches/NewFeatureBrach_at_HEAD
svn://192.168.1.29/repository/MyProject/trunk/MainTrunk_at_HEAD nfb

with no luck (the names are not real for purpose, i try to make them
auto-explicative), the wirking copy nfb contains the same files as the
MainTrunk.

The same thing happens if i try to make the inverse (porting the changes
from the NewFeatureBranch to the MainTrunk): the changes we've made to the
MainTrunk are lost and the older files stored in the NewFeatureBranch are
used instead (which is quite abnormal, svn should take care of revision, do
it?)

I'm sure i'm missing something or doing something the wrong way, if somebody
can help will have my gratitude for ages!

Francesco Zanitti

ps. sorry if there are typos or bad grammar, i don't write a sentence in
english since high school, so...
Received on Mon Oct 29 16:30:40 2007

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.