Mercurial > hg
comparison tests/test-revert @ 2272:e9a0ed9ed4d9
revert: fix corner case found by faheem mitha.
if file not in dest manifest, remove only if in source manifest.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Thu, 11 May 2006 22:10:47 -0700 |
parents | 1e82f2337498 |
children | 890e285c52a1 |
comparison
equal
deleted
inserted
replaced
2271:90b122730d32 | 2272:e9a0ed9ed4d9 |
---|---|
66 chmod -x c | 66 chmod -x c |
67 hg revert | 67 hg revert |
68 echo %% should print executable | 68 echo %% should print executable |
69 test -x c && echo executable | 69 test -x c && echo executable |
70 | 70 |
71 echo %% issue 241 | |
72 hg init a | |
73 cd a | |
74 echo a >> a | |
75 hg commit -A -d '1 0' -m a | |
76 echo a >> a | |
77 hg commit -d '2 0' -m a | |
78 hg update 0 | |
79 mkdir b | |
80 echo b > b/b | |
81 hg revert -rtip | |
82 | |
71 true | 83 true |