Mercurial > hg
comparison tests/test-fix.t @ 45807:f90943d753ef
fix: suggest --source instead of --rev on empty revset
`--source` is the recommended flag for regular users (`--rev` is
available for advanced users).
Differential Revision: https://phab.mercurial-scm.org/D9224
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 16 Oct 2020 15:05:43 -0700 |
parents | f90a5c211251 |
children | 21733e8c924f |
comparison
equal
deleted
inserted
replaced
45806:7252f5237352 | 45807:f90943d753ef |
---|---|
244 $ hg init badusage | 244 $ hg init badusage |
245 $ cd badusage | 245 $ cd badusage |
246 | 246 |
247 $ hg fix | 247 $ hg fix |
248 abort: no changesets specified | 248 abort: no changesets specified |
249 (use --rev or --working-dir) | 249 (use --source or --working-dir) |
250 [255] | 250 [255] |
251 $ hg fix --whole | 251 $ hg fix --whole |
252 abort: no changesets specified | 252 abort: no changesets specified |
253 (use --rev or --working-dir) | 253 (use --source or --working-dir) |
254 [255] | 254 [255] |
255 $ hg fix --base 0 | 255 $ hg fix --base 0 |
256 abort: no changesets specified | 256 abort: no changesets specified |
257 (use --rev or --working-dir) | 257 (use --source or --working-dir) |
258 [255] | 258 [255] |
259 | 259 |
260 Fixing a public revision isn't allowed. It should abort early enough that | 260 Fixing a public revision isn't allowed. It should abort early enough that |
261 nothing happens, even to the working directory. | 261 nothing happens, even to the working directory. |
262 | 262 |