File: svnmagic

package info (click to toggle)
ehcache 2.6.11-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 9,140 kB
  • ctags: 14,506
  • sloc: java: 84,615; xml: 13,172; perl: 33; makefile: 15; sh: 13
file content (39 lines) | stat: -rw-r--r-- 802 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
To merge from trunk to branch.

1. Find the branch point on the branch.

svn log --stop-on-copy .

This will stop at the branch point

2. Find out where trunk is at

svn update

3. Do the merge from trunk

svn merge -r 246:248 . ../branches/ehcache-1.2.4

4. Commit with a commit message that indicated the merge so you know it for next time

e.g. svn commit -m "Merge from trunk svn merge -r 246:248 . ../branches/ehcache-1.2.4"



To merge from branch to trunk


1. Find the branch point on the branch.

svn log --stop-on-copy .

This will stop at the branch point

2. Do the merge from trunk

svn merge --force -r 74:HEAD  ../branches/ehcache-1.2.4 

3. Commit with a commit message that indicated the merge so you know it for next time

e.g. svn commit -m "Merge from branch revision 74 to trunk"