Mercurial > public > mercurial-scm > hg
diff 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 |
line wrap: on
line diff
--- a/tests/test-revert Thu May 11 21:55:15 2006 -0700 +++ b/tests/test-revert Thu May 11 22:10:47 2006 -0700 @@ -68,4 +68,16 @@ echo %% should print executable test -x c && echo executable +echo %% issue 241 +hg init a +cd a +echo a >> a +hg commit -A -d '1 0' -m a +echo a >> a +hg commit -d '2 0' -m a +hg update 0 +mkdir b +echo b > b/b +hg revert -rtip + true