diff tests/test-mq-qrename.t @ 12875:b59b5193d4d0 stable

mq: qrename should not touch the dirstate if src is untracked (issue2460)
author Patrick Mezard <pmezard@gmail.com>
date Thu, 28 Oct 2010 22:04:33 +0200
parents 2754c8273132
children c8e2a5ea7062
line wrap: on
line diff
--- a/tests/test-mq-qrename.t	Thu Oct 28 21:25:53 2010 +0200
+++ b/tests/test-mq-qrename.t	Thu Oct 28 22:04:33 2010 +0200
@@ -81,3 +81,16 @@
   A patchc
   R patcha
   $ cd ..
+
+Test renames with mq repo (issue2097)
+
+  $ hg init issue2097
+  $ cd issue2097
+  $ hg qnew p0
+  $ (cd .hg/patches && hg init)
+  $ hg qren p0 p1
+  $ hg debugstate --mq
+  $ hg ci --mq -mq0
+  nothing changed
+  [1]
+  $ cd ..