##// END OF EJS Templates
fix: suggest --source instead of --rev on empty revset...
Martin von Zweigbergk -
r46409:f90943d7 default
parent child Browse files
Show More
@@ -439,7 +439,7 b' def getrevstofix(ui, repo, opts):'
439 439 raise error.Abort(b'unresolved conflicts', hint=b"use 'hg resolve'")
440 440 if not revs:
441 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 444 return revs
445 445
@@ -246,15 +246,15 b' There is no default behavior in the abse'
246 246
247 247 $ hg fix
248 248 abort: no changesets specified
249 (use --rev or --working-dir)
249 (use --source or --working-dir)
250 250 [255]
251 251 $ hg fix --whole
252 252 abort: no changesets specified
253 (use --rev or --working-dir)
253 (use --source or --working-dir)
254 254 [255]
255 255 $ hg fix --base 0
256 256 abort: no changesets specified
257 (use --rev or --working-dir)
257 (use --source or --working-dir)
258 258 [255]
259 259
260 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