Show More
@@ -177,6 +177,28 b' Cases are run as shown in that table, ro' | |||
|
177 | 177 | |
|
178 | 178 | $ cd .. |
|
179 | 179 | |
|
180 | Test updating to null revision | |
|
181 | ||
|
182 | $ hg init null-repo | |
|
183 | $ cd null-repo | |
|
184 | $ echo a > a | |
|
185 | $ hg add a | |
|
186 | $ hg ci -m a | |
|
187 | $ hg up -qC 0 | |
|
188 | $ echo b > b | |
|
189 | $ hg add b | |
|
190 | $ hg up null | |
|
191 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
|
192 | $ hg st | |
|
193 | A b | |
|
194 | $ hg up -q 0 | |
|
195 | $ hg st | |
|
196 | A b | |
|
197 | $ hg up -qC null | |
|
198 | $ hg st | |
|
199 | ? b | |
|
200 | $ cd .. | |
|
201 | ||
|
180 | 202 | Test updating with closed head |
|
181 | 203 | --------------------------------------------------------------------- |
|
182 | 204 |
General Comments 0
You need to be logged in to leave comments.
Login now