view tests/test-mq-qsave.t @ 33454:3c20d7ef42e1

localrepo: use the 'registernew' function to set the phase of new commit
author Boris Feld <boris.feld@octobus.net>
date Tue, 11 Jul 2017 01:05:27 +0200
parents b701610f6c56
children 55c6ebd11cb9
line wrap: on
line source

  $ 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