tests/test-mq-qsave.t
author Drew Gottlieb <drgott@google.com>
Mon, 30 Mar 2015 10:43:52 -0700
changeset 24495 d2a3a2808974
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
manifest: make manifest.intersectfiles() internal manifest.intersectfiles() is just a utility used by manifest.matches(), and a future commit removes intersectfiles for treemanifest for optimization purposes. This commit makes the intersectfiles methods on manifestdict and treemanifest internal, and converts its test to a more generic testMatches(), which has the exact same coverage.

  $ 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