comparison tests/test-strip.t @ 46262:9c9e0b4b2ca7

error: use detailed exit code 10 for command errors Command errors (unknown or ambiguous commands, or bad command arguments or options) are handled in the `dispatch` module. Most other errors are handled in the `scmutil` module. This patch therefore has to duplicate a little bit of code from the `scmutil` module. It's just a few lines, however, so it seems fine to me. It's a pretty common category of errors, so it's important to have them respect `ui.detailed-exit-code`. Differential Revision: https://phab.mercurial-scm.org/D9777
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 14 Jan 2021 11:53:55 -0800
parents 95c4cca641f6
children 768056549737
comparison
equal deleted inserted replaced
46261:c9b2a4d69e66 46262:9c9e0b4b2ca7
780 -k --keep do not modify working directory during strip 780 -k --keep do not modify working directory during strip
781 -B --bookmark BOOKMARK [+] remove revs only reachable from given bookmark 781 -B --bookmark BOOKMARK [+] remove revs only reachable from given bookmark
782 --mq operate on patch repository 782 --mq operate on patch repository
783 783
784 (use 'hg debugstrip -h' to show more help) 784 (use 'hg debugstrip -h' to show more help)
785 [255] 785 [10]
786 786
787 $ cd .. 787 $ cd ..
788 788
789 Verify bundles don't get overwritten: 789 Verify bundles don't get overwritten:
790 790