tests/test-mq-qsave.t
author Raphaël Gomès <rgomes@octobus.net>
Wed, 10 Mar 2021 19:33:18 +0100
changeset 46714 f63299ee7e4d
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
revlog: add attribute on revlogs that specifies its kind The sidedata logic needs to check whether the revlog it's working on is a changelog, a manifest or a filelog. Furthermore, future versions of the revlog format will most likely see a split between the three types (i.e. they will store different information), so having this will be useful for other future endeavors as well. Differential Revision: https://phab.mercurial-scm.org/D10151

  $ 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