tests/test-resolve.t
changeset 45827 8d72e29ad1e0
parent 45826 21733e8c924f
child 45840 527ce85c2e60
equal deleted inserted replaced
45826:21733e8c924f 45827:8d72e29ad1e0
   189 
   189 
   190 resolve without arguments should suggest --all
   190 resolve without arguments should suggest --all
   191   $ hg resolve
   191   $ hg resolve
   192   abort: no files or directories specified
   192   abort: no files or directories specified
   193   (use --all to re-merge all unresolved files)
   193   (use --all to re-merge all unresolved files)
   194   [255]
   194   [10]
   195 
   195 
   196 resolve --all should re-merge all unresolved files
   196 resolve --all should re-merge all unresolved files
   197   $ hg resolve --all
   197   $ hg resolve --all
   198   merging file1
   198   merging file1
   199   merging file2
   199   merging file2
   404   $ hg resolve -l
   404   $ hg resolve -l
   405   U file1
   405   U file1
   406   R file2
   406   R file2
   407   $ hg resolve --mark --re-merge
   407   $ hg resolve --mark --re-merge
   408   abort: too many actions specified
   408   abort: too many actions specified
   409   [255]
   409   [10]
   410   $ hg resolve --re-merge --all
   410   $ hg resolve --re-merge --all
   411   merging file1
   411   merging file1
   412   warning: conflicts while merging file1! (edit, then use 'hg resolve --mark')
   412   warning: conflicts while merging file1! (edit, then use 'hg resolve --mark')
   413   [1]
   413   [1]
   414 Explicit re-merge
   414 Explicit re-merge
   415   $ hg resolve --unmark file1
   415   $ hg resolve --unmark file1
   416   $ hg resolve --config commands.resolve.explicit-re-merge=1 --all
   416   $ hg resolve --config commands.resolve.explicit-re-merge=1 --all
   417   abort: no action specified
   417   abort: no action specified
   418   (use --mark, --unmark, --list or --re-merge)
   418   (use --mark, --unmark, --list or --re-merge)
   419   [255]
   419   [10]
   420   $ hg resolve --config commands.resolve.explicit-re-merge=1 --re-merge --all
   420   $ hg resolve --config commands.resolve.explicit-re-merge=1 --re-merge --all
   421   merging file1
   421   merging file1
   422   warning: conflicts while merging file1! (edit, then use 'hg resolve --mark')
   422   warning: conflicts while merging file1! (edit, then use 'hg resolve --mark')
   423   [1]
   423   [1]
   424 
   424 
   487   > EOF
   487   > EOF
   488 
   488 
   489   $ hg resolve
   489   $ hg resolve
   490   abort: no files or directories specified
   490   abort: no files or directories specified
   491   (use --all to re-merge all unresolved files)
   491   (use --all to re-merge all unresolved files)
   492   [255]
   492   [10]
   493   $ hg resolve --all << EOF
   493   $ hg resolve --all << EOF
   494   > n
   494   > n
   495   > EOF
   495   > EOF
   496   re-merge all unresolved files (yn)? n
   496   re-merge all unresolved files (yn)? n
   497   abort: user quit
   497   abort: user quit