comparison tests/test-uncommit.t @ 1002:195642c1520b

uncommit: improve error message for use with no arguments
author Nathan Goldbaum <ngoldbau@ucsc.edu>
date Thu, 24 Jul 2014 12:02:53 -0700
parents c768f7666106
children 00bc31523074
comparison
equal deleted inserted replaced
1001:f7f4a1fac6c0 1002:195642c1520b
150 150
151 Test uncommit without argument, should be a no-op 151 Test uncommit without argument, should be a no-op
152 152
153 $ hg uncommit 153 $ hg uncommit
154 abort: nothing to uncommit 154 abort: nothing to uncommit
155 (use --all to uncommit all files)
155 [255] 156 [255]
156 $ hg bookmarks 157 $ hg bookmarks
157 * touncommit-bm 3:5eb72dbe0cb4 158 * touncommit-bm 3:5eb72dbe0cb4
158 touncommit-bm-inactive 3:5eb72dbe0cb4 159 touncommit-bm-inactive 3:5eb72dbe0cb4
159 unrelated 2:f63b90038565 160 unrelated 2:f63b90038565
160 161
161 Test no matches 162 Test no matches
162 163
163 $ hg uncommit --include nothere 164 $ hg uncommit --include nothere
164 abort: nothing to uncommit 165 abort: nothing to uncommit
166 (use --all to uncommit all files)
165 [255] 167 [255]
166 168
167 Enjoy uncommit 169 Enjoy uncommit
168 170
169 $ hg uncommit aa b c f ff g h j k l m o 171 $ hg uncommit aa b c f ff g h j k l m o