tests/test-mq-subrepo.t
changeset 24235 79fceed67676
parent 23348 bbe56e07e07a
child 24471 1ff35d76421c
equal deleted inserted replaced
24234:7977d35df13b 24235:79fceed67676
   293   % qrecord --config ui.interactive=1 -m0 0.diff
   293   % qrecord --config ui.interactive=1 -m0 0.diff
   294   diff --git a/.hgsub b/.hgsub
   294   diff --git a/.hgsub b/.hgsub
   295   new file mode 100644
   295   new file mode 100644
   296   examine changes to '.hgsub'? [Ynesfdaq?] y
   296   examine changes to '.hgsub'? [Ynesfdaq?] y
   297   
   297   
       
   298   @@ -0,0 +1,1 @@
       
   299   +sub = sub
       
   300   record this change to '.hgsub'? [Ynesfdaq?] y
       
   301   
       
   302   warning: subrepo spec file .hgsub not found
   298   abort: uncommitted changes in subrepository sub
   303   abort: uncommitted changes in subrepository sub
   299   [255]
   304   [255]
   300   % update substate when adding .hgsub w/clean updated subrepo
   305   % update substate when adding .hgsub w/clean updated subrepo
   301   A .hgsub
   306   A .hgsub
   302   % qrecord --config ui.interactive=1 -m0 0.diff
   307   % qrecord --config ui.interactive=1 -m0 0.diff
   303   diff --git a/.hgsub b/.hgsub
   308   diff --git a/.hgsub b/.hgsub
   304   new file mode 100644
   309   new file mode 100644
   305   examine changes to '.hgsub'? [Ynesfdaq?] y
   310   examine changes to '.hgsub'? [Ynesfdaq?] y
   306   
   311   
       
   312   @@ -0,0 +1,1 @@
       
   313   +sub = sub
       
   314   record this change to '.hgsub'? [Ynesfdaq?] y
       
   315   
       
   316   warning: subrepo spec file .hgsub not found
   307   path sub
   317   path sub
   308    source   sub
   318    source   sub
   309    revision b2fdb12cd82b021c3b7053d67802e77b6eeaee31
   319    revision b2fdb12cd82b021c3b7053d67802e77b6eeaee31
   310 
       
   311   $ testmod qrecord --config ui.interactive=1 -m1 1.diff <<EOF
   320   $ testmod qrecord --config ui.interactive=1 -m1 1.diff <<EOF
   312   > y
   321   > y
   313   > y
   322   > y
   314   > EOF
   323   > EOF
   315   adding a
   324   adding a