tests/test-mq-qsave.t
author Boris Feld <boris.feld@octobus.net>
Tue, 19 Sep 2017 22:01:31 +0200
changeset 34326 5779d096a696
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
phases: move binary encoding into a reusable function We want to use binary phases for pushing and pulling. We extract the encoding function out of the bundle2 module first.

  $ 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