Show More
@@ -5,7 +5,7 b' the remote hg is able to successfully ro' | |||||
5 | $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" -q ssh://user@dummy/`pwd`/remote local |
|
5 | $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" -q ssh://user@dummy/`pwd`/remote local | |
6 |
|
6 | |||
7 | $ check_for_abandoned_transaction() { |
|
7 | $ check_for_abandoned_transaction() { | |
8 |
> |
|
8 | > [ -f $TESTTMP/remote/.hg/store/journal ] && echo "Abandoned transaction!" | |
9 | > } |
|
9 | > } | |
10 |
|
10 | |||
11 | $ pidfile=`pwd`/pidfile |
|
11 | $ pidfile=`pwd`/pidfile | |
@@ -55,12 +55,7 b' disconnecting. Then exit nonzero, to for' | |||||
55 |
|
55 | |||
56 | $ cd local |
|
56 | $ cd local | |
57 | $ echo foo > foo ; hg commit -qAm "commit" |
|
57 | $ echo foo > foo ; hg commit -qAm "commit" | |
58 | $ hg push -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --remotecmd $remotecmd 2>&1 | grep -v $killable_pipe |
|
58 | $ hg push -q -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --remotecmd $remotecmd 2>&1 | grep -v $killable_pipe | |
59 | pushing to ssh://user@dummy/$TESTTMP/remote |
|
|||
60 | searching for changes |
|
|||
61 | remote: adding changesets |
|
|||
62 | remote: adding manifests |
|
|||
63 | remote: adding file changes |
|
|||
64 | abort: stream ended unexpectedly (got 0 bytes, expected 4) |
|
59 | abort: stream ended unexpectedly (got 0 bytes, expected 4) | |
65 |
|
60 | |||
66 | $ check_for_abandoned_transaction |
|
61 | $ check_for_abandoned_transaction |
General Comments 0
You need to be logged in to leave comments.
Login now