# HG changeset patch # User Siddharth Agarwal # Date 1451596069 28800 # Node ID 8073665f3c4ff1cbc83150448953168498c542c4 # Parent a7956bcbffe1a6e1900372eda87427ed04906a39 test-push.t: clean up compat cruft diff --git a/tests/test-push.t b/tests/test-push.t --- a/tests/test-push.t +++ b/tests/test-push.t @@ -109,9 +109,7 @@ updating reference refs/heads/master this should fail, no changes to push -The exit code for this was broken in Mercurial (incorrectly returning 0) until -issue3228 was fixed in 2.1 - $ hg push -r master && false + $ hg push -r master pushing to $TESTTMP/gitrepo searching for changes no changes found @@ -168,12 +166,9 @@ Push empty Hg repo to empty Git repo (issue #58) -Since there aren't any changes, exit code 1 is expected in modern Mercurial. -However, since it varies between supported Mercurial versions, we need to -force it to consistency for now. (see issue3228, fixed in Mercurial 2.1) $ hg init hgrepo2 $ git init -q --bare gitrepo2 - $ hg -R hgrepo2 push gitrepo2 && false + $ hg -R hgrepo2 push gitrepo2 pushing to gitrepo2 searching for changes no changes found