tests/test-mq-qsave.t
author Arseniy Alekseyev <aalekseyev@janestreet.com>
Sun, 22 May 2022 14:21:59 +0200
branchstable
changeset 48872 cc92ad0e8185
parent 12324 b701610f6c56
child 49585 55c6ebd11cb9
permissions -rw-r--r--
rhg: correctly handle the case where diffs are encoded relative to nullrev returning a valid entry for nullrev fix chain that delta against nullrev.

  $ 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