view tests/test-extra-filelog-entry.t @ 14423:7230aef66b7c

mq: use checkpatchname This also fixes a bug where qrename would allow renaming a patch to a reserved name.
author Idan Kamara <idankk86@gmail.com>
date Tue, 24 May 2011 19:16:51 +0300
parents ec5886db9dc6
children b87acfda5268
line wrap: on
line source

Issue351: mq: qrefresh can create extra revlog entry

  $ echo "[extensions]" >> $HGRCPATH
  $ echo "mq=" >> $HGRCPATH

  $ hg init
  $ hg qinit

  $ echo b > b
  $ hg ci -A -m foo
  adding b

  $ echo cc > b
  $ hg qnew -f foo.diff
  $ echo b > b
  $ hg qrefresh

  $ hg debugindex b
     rev    offset  length   base linkrev nodeid       p1           p2
       0         0       3      0       0 1e88685f5dde 000000000000 000000000000