tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@fb.com>
Tue, 15 Apr 2014 17:18:35 -0400
changeset 21073 83ce71ef7804
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
sshpeer: add implementation of _calltwowaystream This implements the call needed by bundle2. The error handling is a bit flaky right now, but bundle2 error handling in general is still flaky anyway. Bundle2 is still disabled by default, I do not expect this to be a problem.

  $ echo "[extensions]" >> $HGRCPATH
  $ echo "mq=" >> $HGRCPATH

  $ hg init

  $ echo 'base' > base
  $ hg ci -Ambase
  adding base

  $ hg qnew -mmqbase mqbase

  $ hg qsave
  $ hg qrestore 2
  restoring status: hg patches saved state