tests/test-mq-qsave.t
author Siddharth Agarwal <sid0@fb.com>
Mon, 05 Oct 2015 14:37:59 -0700
changeset 26491 366d489295ca
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
scmutil: add a way for a repo's wlock to be inherited by a subprocess This is part of a series that will allow locks to be inherited by subprocesses in limited circumstances. In the future, we'll call this for custom merge drivers.

  $ 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