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

How to bring new branch file into trunk?

From: Markus Dehmann <markus.dehmann_at_gmail.com>
Date: 2005-02-16 22:22:20 CET

I have a branch with a bunch of files. Two of these I want to merge
into the trunk:
new.txt and old.txt. The problem is that new.txt does not yet exist in
the trunk. It was newly created in the branch.

I changed to my working copy of the branch and tried the merge
command, described here
(http://svnbook.red-bean.com/en/1.1/re16.html):

svn merge -r 1685:HEAD file:///path/branches/myBranch/old.txt
svn merge -r 1685:HEAD file:///path/branches/myBranch/new.txt
(1685 is the revision in which the branch was created)

It works for old.txt, but not for new.txt.

svn complains that new.txt does not exist in the trunk and says: use
--force to override this restriction. But actually, I get the same
message when I actually use svn merge --force ...

What is the recommended way to do it?

Markus

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 16 22:25:13 2005

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