tests/test-mq-qsave.t
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
Mon, 11 Feb 2013 16:21:48 +0100
changeset 18662 c5f7e83d47cd
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
mq: comply with filtering when injecting fake tags (issue3812) mq was injecting fake tags whenever the revisions were accessible to the filtering level. This issue impacts hgweb since it's common to have "secret" mq patches. As secret changesets are filtered by hgweb, the tags computation could break.

  $ 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