tests/test-mq-qsave.t
author Yuya Nishihara <yuya@tcha.org>
Fri, 13 Apr 2018 22:58:49 +0900
changeset 37770 31750413f8d7
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
formatter: convert timestamp to int Spotted while porting jsonchangeset printer to formatter. A timestamp may be float type, but its meaningful part is just int.

  $ 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