tests/test-mq-qsave.t
author Kevin Bullock <kbullock@ringworld.org>
Tue, 19 Jul 2011 13:43:53 -0500
branchstable
changeset 14898 95ced9f5bf29
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
subrepo: don't commit in subrepo if it's clean If a subrepo has changed relative to the outer repo's substate, but the subrepo itself is clean, we don't need to commit in the subrepo.

  $ 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