Cheung
Cheung

Reputation: 15552

How can i merge a /branch to /trunk using TortoiseSVN?

Assume i have a project in /trunk (revision: 10) And i have copy all files from /trunk to /branch/2011.06.01 and switch working copy to /branch.

there are some changed made and committed to /branch.

So that there is not sync between /trunk and /branch/2011.06.01, but how can i merge from /branch to /trunk to make it as same files?

or i just delete all files in trunk and copy from /branch?

Upvotes: 0

Views: 208

Answers (1)

Bruce
Bruce

Reputation: 7132

I heavily suggest reading svn manual covering this case in details

Something like that should do :

go to trunk
svn up
svn merge -r 10:latestRevisionHere http://svn.example.com/branch/2011.06.01

=> check diffs, pay attention to newly spawned, moved, deleted files => commit

Upvotes: 2

Related Questions