tests/test-mq-qsave.t
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 12 Jan 2017 11:43:26 -0800
changeset 30786 e2a6f383d314
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
tests: use "hg help revisions.<predicate>" instead of grepping We have specific syntax for displaying the help text for a particular revset predicate, so use that instead of grepping through the full output.

  $ 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