view tests/test-mq-qsave.t @ 26042:2a3010ba6f52

reachableroots: give anonymous name to short-lived "numheads" variable I'll reuse it for the length of the roots list.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 15 Aug 2015 18:29:58 +0900
parents b701610f6c56
children 55c6ebd11cb9
line wrap: on
line source

  $ 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