diff tests/test-impexp-branch.t @ 22485:efedda4aed49

import: let --exact 'work' with --no-commit (issue4376)
author Matt Mackall <mpm@selenic.com>
date Fri, 19 Sep 2014 14:51:58 -0500
parents db6b958c4f35
children 75be14993fda
line wrap: on
line diff
--- a/tests/test-impexp-branch.t	Tue Sep 16 16:03:21 2014 -0700
+++ b/tests/test-impexp-branch.t	Fri Sep 19 14:51:58 2014 -0500
@@ -54,6 +54,14 @@
 
   $ hg init c
   $ cd c
+  $ hg import --exact --no-commit ../r0.patch
+  applying ../r0.patch
+  warning: can't check exact import with --no-commit
+  $ hg st
+  A rev
+  $ hg revert -a
+  forgetting rev
+  $ rm rev
   $ hg import --exact ../r0.patch
   applying ../r0.patch
   $ hg import --exact ../r1.patch