tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@fb.com>
Fri, 23 May 2014 17:26:57 -0700
changeset 21610 d6056805f8f4
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
bundle2: introduce a ``params`` dictionary on unbundled parts This exposes all parameters the part received into a ``part.params`` dictionary. This should be much easier to use. This dictionary itself does not expose the mandatory or advisory aspect of parameters, but no current users of bundle2 actually enforce any of this logic. Coming changesets will improve this aspect.

  $ 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