Mercurial > hg
diff tests/test-hook @ 2227:4f072bb06e89
deprecate undo command, replace with rollback command.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Mon, 08 May 2006 14:19:05 -0700 |
parents | 05b6c13f43c6 |
children | 3f7692b0ff13 |
line wrap: on
line diff
--- a/tests/test-hook Mon May 08 14:18:19 2006 -0700 +++ b/tests/test-hook Mon May 08 14:19:05 2006 -0700 @@ -81,7 +81,7 @@ echo 'preoutgoing = echo preoutgoing hook: s=$HG_SOURCE' >> ../a/.hg/hgrc echo 'outgoing = echo outgoing hook: n=$HG_NODE s=$HG_SOURCE' >> ../a/.hg/hgrc hg pull ../a -hg undo +hg rollback # preoutgoing hook can prevent outgoing changes echo 'preoutgoing.forbid = echo preoutgoing.forbid hook; exit 1' >> ../a/.hg/hgrc