Mercurial > hg
comparison tests/test-rename-merge1.t @ 13537:37f487b9fbcc
test-rename-merge1: make it easier to review, windows friendly
- Reuse the coding style of the previous tests, both are very similar
- Do not play with case changes, it does not work on Windows
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 06 Mar 2011 10:06:09 +0100 |
parents | ca940d06bf95 |
children | ec5886db9dc6 |
comparison
equal
deleted
inserted
replaced
13536:fac040b7e822 | 13537:37f487b9fbcc |
---|---|
129 Check for issue2089 | 129 Check for issue2089 |
130 | 130 |
131 $ hg init repo2089 | 131 $ hg init repo2089 |
132 $ cd repo2089 | 132 $ cd repo2089 |
133 | 133 |
134 $ echo 0 > A | 134 $ echo c0 > f1 |
135 $ hg -q ci -Am 0 | 135 $ hg ci -Aqm0 |
136 | 136 |
137 $ hg -q up -C null | 137 $ hg up null -q |
138 $ echo 1 > A | 138 $ echo c1 > f1 |
139 $ hg -q ci -Am 1 | 139 $ hg ci -Aqm1 |
140 | 140 |
141 $ hg -q up -C 0 | 141 $ hg up 0 -q |
142 $ hg merge 1 -q --tool internal:local | 142 $ hg merge 1 -q --tool internal:local |
143 $ echo 2 > A | 143 $ echo c2 > f1 |
144 $ hg -q ci -m 2 | 144 $ hg ci -qm2 |
145 | 145 |
146 $ hg -q up -C 1 | 146 $ hg up 1 -q |
147 $ hg mv A a | 147 $ hg mv f1 f2 |
148 $ hg -q ci -Am 3 | 148 $ hg ci -Aqm3 |
149 | 149 |
150 $ hg -q up -C 2 | 150 $ hg up 2 -q |
151 $ hg merge 3 | 151 $ hg merge 3 |
152 merging A and a to a | 152 merging f1 and f2 to f2 |
153 0 files updated, 1 files merged, 0 files removed, 0 files unresolved | 153 0 files updated, 1 files merged, 0 files removed, 0 files unresolved |
154 (branch merge, don't forget to commit) | 154 (branch merge, don't forget to commit) |
155 | 155 |
156 $ cat a | 156 $ cat f2 |
157 2 | 157 c2 |