comparison tests/test-backout.out @ 6423:fb374b1b3911

backout: reverse changeset belongs on current branch Backing out a changeset that is before a named branch branchpoint was making the reverse changeset the tip of the old branch, which is wrong and very confusing. So instead, we put it on the current named branch.
author Matt Mackall <mpm@selenic.com>
date Sat, 29 Mar 2008 12:39:47 -0500
parents 4b0c9c674707
children 708938509732
comparison
equal deleted inserted replaced
6422:3ee6f1fce94a 6423:fb374b1b3911
72 adding file1 72 adding file1
73 marked working directory as branch branch2 73 marked working directory as branch branch2
74 adding file2 74 adding file2
75 removing file1 75 removing file1
76 created new head 76 created new head
77 changeset 3:f1c642b1d8e5 backs out changeset 1:bf1602f437f3 77 changeset 3:d4e8f6db59fb backs out changeset 1:bf1602f437f3
78 the backout changeset is a new head - do not forget to merge 78 the backout changeset is a new head - do not forget to merge
79 (use "backout --merge" if you want to auto-merge) 79 (use "backout --merge" if you want to auto-merge)
80 % on branch2 with branch1 not merged, so file1 should still exist: 80 % on branch2 with branch1 not merged, so file1 should still exist:
81 45bbcd363bf0 (branch2) 81 45bbcd363bf0 (branch2)
82 C default 82 C default
83 C file1 83 C file1
84 C file2 84 C file2
85 % on branch2 with branch1 merged, so file1 should be gone: 85 % on branch2 with branch1 merged, so file1 should be gone:
86 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 86 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
87 (branch merge, don't forget to commit) 87 (branch merge, don't forget to commit)
88 21d4dc6f9a41 (branch2) tip 88 22149cdde76d (branch2) tip
89 C default 89 C default
90 C file2 90 C file2
91 % on branch1, so no file1 and file2: 91 % on branch1, so no file1 and file2:
92 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 92 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
93 f1c642b1d8e5 (branch1) 93 bf1602f437f3 (branch1)
94 C default 94 C default
95 C file1