tests/test-mq-qsave.t
author Pulkit Goyal <7895pulkit@gmail.com>
Mon, 16 Oct 2017 22:19:02 +0530
changeset 34780 070ba789f4d0
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
releasenotes: fix documentation of similaritycheck() The function document says that it returns true when the fragment can be merged, but if you see the function just above it which is similar(), it writes already exists thing if return value from similaritycheck() is False which is just opposite of the doc. This patch fixes that. Differential Revision: https://phab.mercurial-scm.org/D1119

  $ 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