equal
deleted
inserted
replaced
48 $ cat >remote/.hg/hgrc <<EOF |
48 $ cat >remote/.hg/hgrc <<EOF |
49 > [hooks] |
49 > [hooks] |
50 > pretxnchangegroup.break-things=$hook_script |
50 > pretxnchangegroup.break-things=$hook_script |
51 > EOF |
51 > EOF |
52 |
52 |
|
53 $ hg --cwd ./remote tip -T '{node|short}\n' |
|
54 000000000000 |
53 $ cd local |
55 $ cd local |
54 $ echo foo > foo ; hg commit -qAm "commit" |
56 $ echo foo > foo ; hg commit -qAm "commit" |
55 $ hg push -q -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --remotecmd $remotecmd 2>&1 | grep -v $killable_pipe |
57 $ hg push -q -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --remotecmd $remotecmd 2>&1 | grep -v $killable_pipe |
56 abort: stream ended unexpectedly (got 0 bytes, expected 4) |
58 abort: stream ended unexpectedly (got 0 bytes, expected 4) |
57 |
59 |
58 The remote should be left in a good state |
60 The remote should be left in a good state |
|
61 $ hg --cwd ../remote tip -T '{node|short}\n' |
|
62 000000000000 |
59 $ hg --cwd ../remote recover |
63 $ hg --cwd ../remote recover |
60 no interrupted transaction available |
64 no interrupted transaction available |
61 [1] |
65 [1] |