tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@fb.com>
Mon, 15 Jun 2015 16:04:14 -0700
changeset 25611 d89045a66e01
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
phase: rename getphaserevs to loadphaserevs This function is: - already loading the data in place, - used once in the code. So we drop the return value and change the name to make this obvious. We keep the function public because we'll have to use it in revset.

  $ 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