Mercurial > hg
comparison tests/test-update-renames @ 10874:4f11978ae45d stable
copies: properly visit file context ancestors on working file contexts
author | Henrik Stuart <henrik.stuart@edlund.dk> |
---|---|
date | Wed, 07 Apr 2010 21:31:47 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
10872:9606edb8777e | 10874:4f11978ae45d |
---|---|
1 #!/bin/sh | |
2 | |
3 # test update logic when there are renames | |
4 | |
5 | |
6 # update with local changes across a file rename | |
7 hg init a | |
8 cd a | |
9 echo a > a | |
10 hg add a | |
11 hg ci -m a | |
12 hg mv a b | |
13 hg ci -m rename | |
14 echo b > b | |
15 hg ci -m change | |
16 hg up -q 0 | |
17 echo c > a | |
18 hg up | |
19 cd .. |