Mercurial > hg
diff tests/test-phases-exchange.t @ 19934:bfc6ed892349
push: hide description about "-f" in the hint to prevent from using it easily
"use push -f to force" in the hint at abortion of "hg push" may cause
novice users to execute "push -f" easily without understanding about
problems of multiple branch heads in the repository.
This patch hides description about "-f" in the hint, and leads into
seeing "hg help push" for details about pushing new heads.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Thu, 03 Oct 2013 23:16:06 +0900 |
parents | dfb514836b78 |
children | e54a078153f7 |
line wrap: on
line diff
--- a/tests/test-phases-exchange.t Sat Oct 05 01:02:22 2013 +0900 +++ b/tests/test-phases-exchange.t Thu Oct 03 23:16:06 2013 +0900 @@ -844,7 +844,7 @@ pushing to ../mu searching for changes abort: push creates new remote head 435b5d83910c! - (did you forget to merge? use push -f to force) + (merge or see "hg help push" for details about pushing new heads) [255] $ hg push -fr 435b5d83910c ../mu # because the push will create new visible head pushing to ../mu