view tests/test-mq-qsave.t @ 14469:2fdea636f254 stable

subrepo: don't crash when git .hgsubstate is empty (issue2716)
author Eric Eisner <ede@alum.mit.edu>
date Sat, 28 May 2011 11:03:48 -0400
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