Mercurial > public > mercurial-scm > hg
diff tests/test-backout.t @ 27912:ae4e6b80f084 stable
backout: fix --no-commit option (issue5054)
author | Ruslan Sayfutdinov <sayfutdinov@fb.com> |
---|---|
date | Wed, 20 Jan 2016 08:16:58 -0800 |
parents | ce76c4d2b85c |
children | 9960b6369e7f |
line wrap: on
line diff
--- a/tests/test-backout.t Tue Jan 19 13:43:50 2016 -0800 +++ b/tests/test-backout.t Wed Jan 20 08:16:58 2016 -0800 @@ -739,4 +739,17 @@ nine TEN +--no-commit shouldn't commit + $ hg init a + $ cd a + $ for i in 1 2 3; do + > touch $i + > hg ci -Am $i + > done + adding 1 + adding 2 + adding 3 + $ hg backout --no-commit . + removing 3 + changeset cccc23d9d68f backed out, don't forget to commit.