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

Re: Getting new files from trunk to branch.

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2005-03-14 23:47:05 CET

You should use the svn merge command to get changes from trunk to
branch or vice-versa. The 'svn merge' command also deals with added
and deleted files, not just existing files that are changed/modified.
If you wish to get only the added files (not any other changes in the
trunk), I am afraid you will have to know the names of the files that
you added.

On Mon, 14 Mar 2005 23:33:38 +0100, Flemming Gram Christensen
<fgc@mjolner.dk> wrote:
> Hi.
> I am new to subversion.
> I have created a repository.
> I have Imported the files for a project the trunk.
> I have created a branch using svn copy.
> So far so good.
>
> Now I have added some new files to the trunk edition of the project.
> How do I get them (the new files) into my branch also?
> The other way (branch to trunk) is also a common operation I guess.
>
> Do I have to do a manually svn copy (which requires that I
> know the names of all new files)?
>
> I read chapter 1-4 in the book and the faq, but it mostly talks about merging
> files which have been changed in the trunk or branch or both.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 14 23:49:37 2005

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

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