tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@fb.com>
Mon, 05 Oct 2015 01:46:47 -0700
changeset 26569 2aeeef1dc9a5
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
update: move default destination computation to a function We ultimately want this to be accessible through a revset, but there is too much complexity here for that to work. Especially we'll have to return more than just the destination to control the behavior (eg: bookmarks to activate, etc). To prevent cycle, a new module is created, it will receive other destination/behavior function in the future.

  $ 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