tests/test-mq-qsave.t
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 06 Apr 2018 12:55:32 -0700
changeset 37857 9231148ea599
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
context: convert to hex for error message only for 20-byte changeid Now that 20-byte strings unambiguously mean binary (or a bug), we can specialize the conversion to hex for that case. Differential Revision: https://phab.mercurial-scm.org/D3452

  $ 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