##// END OF EJS Templates
fix: suggest --source instead of --rev on empty revset...
Martin von Zweigbergk -
r46398:af585d09 default draft
parent child Browse files
Show More
@@ -439,7 +439,7 b' def getrevstofix(ui, repo, opts):'
439 raise error.Abort(b'unresolved conflicts', hint=b"use 'hg resolve'")
439 raise error.Abort(b'unresolved conflicts', hint=b"use 'hg resolve'")
440 if not revs:
440 if not revs:
441 raise error.Abort(
441 raise error.Abort(
442 b'no changesets specified', hint=b'use --rev or --working-dir'
442 b'no changesets specified', hint=b'use --source or --working-dir'
443 )
443 )
444 return revs
444 return revs
445
445
@@ -246,15 +246,15 b' There is no default behavior in the abse'
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
General Comments 0
You need to be logged in to leave comments. Login now