diff tests/test-mq-subrepo.t @ 24235:79fceed67676

record: allow editing new files (issue4304) While using the record extension to select changes, the user couldn't see the content of newly added files and had to select/reject them based on filename. The test is changed accordingly in two places.
author Laurent Charignon <lcharignon@fb.com>
date Fri, 06 Mar 2015 15:57:43 -0800
parents bbe56e07e07a
children 1ff35d76421c
line wrap: on
line diff
--- a/tests/test-mq-subrepo.t	Thu Mar 05 14:42:25 2015 -0800
+++ b/tests/test-mq-subrepo.t	Fri Mar 06 15:57:43 2015 -0800
@@ -295,6 +295,11 @@
   new file mode 100644
   examine changes to '.hgsub'? [Ynesfdaq?] y
   
+  @@ -0,0 +1,1 @@
+  +sub = sub
+  record this change to '.hgsub'? [Ynesfdaq?] y
+  
+  warning: subrepo spec file .hgsub not found
   abort: uncommitted changes in subrepository sub
   [255]
   % update substate when adding .hgsub w/clean updated subrepo
@@ -304,10 +309,14 @@
   new file mode 100644
   examine changes to '.hgsub'? [Ynesfdaq?] y
   
+  @@ -0,0 +1,1 @@
+  +sub = sub
+  record this change to '.hgsub'? [Ynesfdaq?] y
+  
+  warning: subrepo spec file .hgsub not found
   path sub
    source   sub
    revision b2fdb12cd82b021c3b7053d67802e77b6eeaee31
-
   $ testmod qrecord --config ui.interactive=1 -m1 1.diff <<EOF
   > y
   > y