Generalize make_mercurial_completions.fish a bit so it can be used with darcs as well. Add make targets for creating darcs/hg completions.

darcs-hash:20070125132836-ac50b-0e7a728e4be2386d696094a414a1c8bcaee771fc.gz
This commit is contained in:
axel 2007-01-25 23:28:36 +10:00
parent f917dccf6f
commit 350b637a1a
3 changed files with 952 additions and 392 deletions

View file

@ -819,6 +819,16 @@ fish.spec: fish.spec.in
./config.status
#
# Completion files which are autogenerated using various scripts
#
share/completions/darcs.fish: make_mercurial_completions.fish
./make_mercurial_completions.fish darcs 'complete -c darcs -n "not __fish_use_subcommand" -a "(test -f _darcs/prefs/repos; and cat _darcs/prefs/repos)" --description "Darcs repo"' >$@
share/completions/hg.fish: make_mercurial_completions.fish
./make_mercurial_completions.fish hg >$@
#
# Create .rpm file for the current systems architecture and an
# .src.rpm file.

View file

@ -1,243 +1,785 @@
#
# Completions for the darcs VCS command
#
# Incomplete, the number of switches for darcs is _huge_
# Completions for the darcs command
# This file was autogenerated by the file make_mercurial_completions.fish
# which is shipped with the fish source code
#
#
# If no subcommand has been specified, complete using all available subcommands
# Completions from commandline
#
complete -c darcs -n '__fish_use_subcommand' -xa 'initialize' --description "Create new project"
complete -c darcs -n '__fish_use_subcommand' -xa 'get' --description "Create a local copy of another repository"
complete -c darcs -n '__fish_use_subcommand' -xa 'add' --description "Add one or more new files or directories"
complete -c darcs -n '__fish_use_subcommand' -xa 'remove' --description "Remove one or more files or directories from the repository"
complete -c darcs -n '__fish_use_subcommand' -xa 'mv' --description "Move/rename one or more files or directories"
complete -c darcs -n '__fish_use_subcommand' -xa 'replace' --description "Replace a token with a new value for that token"
complete -c darcs -n '__fish_use_subcommand' -xa 'record' --description "Save changes in the working copy to the repository as a patch"
complete -c darcs -n '__fish_use_subcommand' -xa 'pull' --description "Copy and apply patches from another repository to this one"
complete -c darcs -n '__fish_use_subcommand' -xa 'send' --description "Send by email a bundle of one or more patches"
complete -c darcs -n '__fish_use_subcommand' -xa 'apply' --description "Apply patches (from an email bundle) to the repository"
complete -c darcs -n '__fish_use_subcommand' -xa 'push' --description "Copy and apply patches from this repository to another one"
complete -c darcs -n '__fish_use_subcommand' -xa 'whatsnew' --description "Display unrecorded changes in the working copy"
complete -c darcs -n '__fish_use_subcommand' -xa 'changes' --description "Gives a changelog style summary of the repo history"
complete -c darcs -n '__fish_use_subcommand' -xa 'unrecord' --description "Remove recorded patches without changing the working copy"
complete -c darcs -n '__fish_use_subcommand' -xa 'amend-record' --description "Replace a recorded patch with a better version"
complete -c darcs -n '__fish_use_subcommand' -xa 'revert' --description "Revert to the recorded version (safe the first time only)"
complete -c darcs -n '__fish_use_subcommand' -xa 'unrevert' --description "Undo the last revert (may fail if changes after the revert)"
complete -c darcs -n '__fish_use_subcommand' -xa 'unpull' --description "Opposite of pull; unsafe if the patch is not in remote repo"
complete -c darcs -n '__fish_use_subcommand' -xa 'rollback' --description "Record an inverse patch without changing the working copy"
complete -c darcs -n '__fish_use_subcommand' -xa 'tag' --description "Tag the contents of the repository with a version name"
complete -c darcs -n '__fish_use_subcommand' -xa 'setpref' --description "Set a value for a preference (test, predist, ...)"
complete -c darcs -n '__fish_use_subcommand' -xa 'diff' --description "Create a diff between two versions of the repository"
complete -c darcs -n '__fish_use_subcommand' -xa 'annotate' --description "Display which patch last modified something"
complete -c darcs -n '__fish_use_subcommand' -xa 'optimize' --description "Optimize the repository"
complete -c darcs -n '__fish_use_subcommand' -xa 'check' --description "Check the repository for consistency"
complete -c darcs -n '__fish_use_subcommand' -xa 'resolve' --description "Mark any conflicts to the working copy for manual resolution"
complete -c darcs -n '__fish_use_subcommand' -xa 'dist' --description "Create a distribution tarball"
complete -c darcs -n '__fish_use_subcommand' -xa 'trackdown' --description "Locate the most recent version lacking an error"
complete -c darcs -n '__fish_use_subcommand' -xa 'repair' --description "Repair the corrupted repository"
complete -c darcs -n "not __fish_use_subcommand" -a "(test -f _darcs/prefs/repos; and cat _darcs/prefs/repos)" --description "Darcs repo"
#
# These switches are universal
#
complete -c darcs -s h -l help --description "Shows brief description of command and its arguments"
complete -c darcs -l disable --description "Disable this command"
complete -c darcs -l repodir --description "Specify the repository directory in which to run" -x -a '(__fish_complete_directories (commandline -ct))'
complete -c darcs -s v -l verbose --description "Verbose mode"
complete -c darcs -l standard-verbosity --description "Neither verbose nor quiet output"
complete -c darcs -n 'not __fish_use_subcommand' -a "(test -f _darcs/prefs/repos; and cat _darcs/prefs/repos)" --description "Darcs repo"
#
# Here follows a huge list of subcommand-specific completions. These are incomplete.
# subcommands
#
set -l record_opt -c darcs -n 'contains record (commandline -poc)'
complete $record_opt -s m -l patch-name --description "Name of patch" -x
complete $record_opt -s A -l author --description "Specify author id" -x
complete $record_opt -l logfile --description "Give patch name and comment in file" -r
complete $record_opt -s a -l all --description "Answer yes to all patches"
complete $record_opt -s l -l look-for-adds --description "In addition to modifications, look for files that are not boring, and thus are potentially pending addition"
complete $record_opt -l delete-logfile --description "Delete the logfile when done"
complete $record_opt -l no-test --description "Don't run the test script"
complete $record_opt -l test --description "Run the test script"
complete $record_opt -l leave-test-directory --description "Don't remove the test directory"
complete $record_opt -l remove-test-directory --description "Remove the test directory"
complete $record_opt -l compress --description "Create compressed patches"
complete $record_opt -l dont-compress --description "Don't create compressed patches"
complete $record_opt -l pipe --description "Expect to receive input from a pipe"
complete $record_opt -l interactive --description "Prompt user interactively"
complete $record_opt -l ask-deps --description "Ask for extra dependencies"
complete $record_opt -l no-ask-deps --description "Don't ask for extra dependencies"
complete $record_opt -l edit-long-comment --description "Edit the long comment by default"
complete $record_opt -l skip-long-comment --description "Don't give a long comment"
complete $record_opt -l prompt-long-comment --description "Prompt for whether to edit the long comment"
complete $record_opt -l ignore-times --description "Don't trust the file modification times"
complete $record_opt -l dont-look-for-adds --description "Don't look for any files or directories that could be added, and don't add them automatically"
complete -c darcs -n '__fish_use_subcommand' -x -a help --description 'Display help for darcs or a single commands.'
complete -c darcs -n '__fish_use_subcommand' -x -a add --description 'Add one or more new files or directories.'
complete -c darcs -n '__fish_use_subcommand' -x -a remove --description 'Remove one or more files or directories from the repository.'
complete -c darcs -n '__fish_use_subcommand' -x -a mv --description 'Move/rename one or more files or directories.'
complete -c darcs -n '__fish_use_subcommand' -x -a replace --description 'Replace a token with a new value for that token.'
complete -c darcs -n '__fish_use_subcommand' -x -a revert --description 'Revert to the recorded version (safe the first time only).'
complete -c darcs -n '__fish_use_subcommand' -x -a unrevert --description 'Undo the last revert (may fail if changes after the revert).'
complete -c darcs -n '__fish_use_subcommand' -x -a whatsnew --description 'Display unrecorded changes in the working copy.'
complete -c darcs -n '__fish_use_subcommand' -x -a record --description 'Save changes in the working copy to the repository as a patch.'
complete -c darcs -n '__fish_use_subcommand' -x -a unrecord --description 'Remove recorded patches without changing the working copy.'
complete -c darcs -n '__fish_use_subcommand' -x -a amend-record --description 'Replace a patch with a better version before it leaves your repository.'
complete -c darcs -n '__fish_use_subcommand' -x -a resolve --description 'Mark any conflicts to the working copy for manual resolution.'
complete -c darcs -n '__fish_use_subcommand' -x -a tag --description 'Tag the contents of the repository with a version name.'
complete -c darcs -n '__fish_use_subcommand' -x -a setpref --description 'Set a value for a preference (test, predist, ...).'
complete -c darcs -n '__fish_use_subcommand' -x -a rollback --description 'Record an inverse patch without changing the working directory.'
complete -c darcs -n '__fish_use_subcommand' -x -a diff --description 'Create a diff between two versions of the repository.'
complete -c darcs -n '__fish_use_subcommand' -x -a changes --description 'Gives a changelog-style summary of the repository history.'
complete -c darcs -n '__fish_use_subcommand' -x -a annotate --description 'Display which patch last modified something.'
complete -c darcs -n '__fish_use_subcommand' -x -a dist --description 'Create a distribution tarball.'
complete -c darcs -n '__fish_use_subcommand' -x -a trackdown --description 'Locate the most recent version lacking an error.'
complete -c darcs -n '__fish_use_subcommand' -x -a query --description 'Query information which is stored by darcs.'
complete -c darcs -n '__fish_use_subcommand' -x -a pull --description 'Copy and apply patches from another repository to this one.'
complete -c darcs -n '__fish_use_subcommand' -x -a unpull --description 'Opposite of pull; unsafe if patch is not in remote repository.'
complete -c darcs -n '__fish_use_subcommand' -x -a obliterate --description 'Delete selected patches from the repository. (UNSAFE!)'
complete -c darcs -n '__fish_use_subcommand' -x -a push --description 'Copy and apply patches from this repository to another one.'
complete -c darcs -n '__fish_use_subcommand' -x -a send --description 'Send by email a bundle of one or more patches.'
complete -c darcs -n '__fish_use_subcommand' -x -a apply --description 'Apply patches (from an email bundle) to the repository.'
complete -c darcs -n '__fish_use_subcommand' -x -a get --description 'Create a local copy of another repository.'
complete -c darcs -n '__fish_use_subcommand' -x -a put --description 'Makes a copy of the repository'
complete -c darcs -n '__fish_use_subcommand' -x -a initialize --description 'Initialize a new source tree as a darcs repository.'
complete -c darcs -n '__fish_use_subcommand' -x -a optimize --description 'Optimize the repository.'
complete -c darcs -n '__fish_use_subcommand' -x -a check --description 'Check the repository for consistency.'
complete -c darcs -n '__fish_use_subcommand' -x -a repair --description 'Repair the corrupted repository.'
set -l pull_opt -c darcs -n 'contains pull (commandline -poc)'
complete $pull_opt -s p -l patches --description "Select patches matching REGEXP" -x
complete $pull_opt -s t -l tags --description "Select tags matching REGEXP" -x
complete $pull_opt -s a -l all --description "Answer yes to all patches"
complete $pull_opt -s s -l summary --description "Summarize changes"
complete $pull_opt -s q -l quiet --description "Suppress informational output"
complete $pull_opt -l matches --description "Select patches matching PATTERN" -x
complete $pull_opt -l external-merge --description "Use external tool to merge conflicts" -x
complete $pull_opt -l interactive --description "Prompt user interactively"
complete $pull_opt -l compress --description "Create compressed patches"
complete $pull_opt -l dont-compress --description "Don't create compressed patches"
complete $pull_opt -l test --description "Run the test script"
complete $pull_opt -l no-test --description "Don't run the test script"
complete $pull_opt -l dry-run --description "Don't actually take the action"
complete $pull_opt -l no-summary --description "Don't summarize changes"
complete $pull_opt -l ignore-times --description "Don't trust the file modification times"
complete $pull_opt -l no-deps --description "Don't automatically fulfill dependencies"
complete $pull_opt -l set-default --description "Set default repository [DEFAULT]"
complete $pull_opt -l no-set-default --description "Don't set default repository"
complete $pull_opt -l set-scripts-executable --description "Make scripts executable"
complete $pull_opt -l dont-set-scripts-executable --description "Don't make scripts executable"
#
# Completions for the 'help' subcommand
#
complete -c darcs -n 'contains help (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains help (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains help (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains help (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains help (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains help (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains help (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains help (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
set -l apply_opt -c darcs -n 'contains apply (commandline -poc)'
complete $apply_opt -s a -l all --description "Answer yes to all patches"
complete $apply_opt -l verify --description "Verify that the patch was signed by a key in PUBRING" -r
complete $apply_opt -l verify-ssl --description "Verify using openSSL with authorized keys from specified file" -r
complete $apply_opt -l sendmail-command --description "Specify sendmail command" -r
complete $apply_opt -l reply --description "Reply to email-based patch using FROM address" -x
complete $apply_opt -l cc --description "Mail results to additional EMAIL(s). Requires --reply" -x
complete $apply_opt -l external-merge --description "Use external tool to merge conflicts" -r
complete $apply_opt -l no-verify --description "Don't verify patch signature"
complete $apply_opt -l ignore-times --description "Don't trust the file modification times"
complete $apply_opt -l compress --description "Create compressed patches"
complete $apply_opt -l dont-compress --description "Don't create compressed patches"
complete $apply_opt -l interactive --description "Prompt user interactively"
complete $apply_opt -l mark-conflicts --description "Mark conflicts"
complete $apply_opt -l allow-conflicts --description "Allow conflicts, but don't mark them"
complete $apply_opt -l dont-allow-conflicts --description "Fail on patches that create conflicts [DEFAULT]"
complete $apply_opt -l no-test --description "Don't run the test script"
complete $apply_opt -l test --description "Run the test script"
complete $apply_opt -l happy-forwarding --description "Forward unsigned messages without extra header"
complete $apply_opt -l leave-test-directory --description "Don't remove the test directory"
complete $apply_opt -l remove-test-directory --description "Remove the test directory"
complete $apply_opt -l set-scripts-executable --description "Make scripts executable"
complete $apply_opt -l dont-set-scripts-executable --description "Don't make scripts executable"
#
# Completions for the 'add' subcommand
#
complete -c darcs -n 'contains add (commandline -poc)' -l boring --description 'Don\'t skip boring files'
complete -c darcs -n 'contains add (commandline -poc)' -l case-ok --description 'Don\'t refuse to add files differing only in case'
complete -c darcs -n 'contains add (commandline -poc)' -s r -l recursive --description 'Add contents of subdirectories'
complete -c darcs -n 'contains add (commandline -poc)' -l not-recursive --description 'Don\'t add contents of subdirectories'
complete -c darcs -n 'contains add (commandline -poc)' -l date-trick --description 'Add files with date appended to avoid conflict. [EXPERIMENTAL] '
complete -c darcs -n 'contains add (commandline -poc)' -l no-date-trick --description 'Don\'t use experimental date appending trick. [DEFAULT]'
complete -c darcs -n 'contains add (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains add (commandline -poc)' -s q -l quiet --description 'Suppress informational output'
complete -c darcs -n 'contains add (commandline -poc)' -l standard-verbosity --description 'Neither verbose nor quiet output'
complete -c darcs -n 'contains add (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains add (commandline -poc)' -l dry-run --description 'Don\'t actually take the action'
complete -c darcs -n 'contains add (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains add (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains add (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains add (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains add (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains add (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
set -l check_opt -c darcs -n 'contains check (commandline -poc)'
complete $check_opt -s v -l verbose --description "Verbose mode"
complete $check_opt -s q -l quiet --description "Suppress informational output"
complete $check_opt -l complete --description "Check the entire repository"
complete $check_opt -l partial --description "Check patches since latest checkpoint"
complete $check_opt -l no-test --description "Don't run the test script"
complete $check_opt -l test --description "Run the test script"
complete $check_opt -l leave-test-directory --description "Don't remove the test directory"
complete $check_opt -l remove-test-directory --description "Remove the test directory"
#
# Completions for the 'remove' subcommand
#
complete -c darcs -n 'contains remove (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains remove (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains remove (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains remove (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains remove (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains remove (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains remove (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains remove (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains remove (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
set -l mv_opt -c darcs -n 'contains mv (commandline -poc)'
complete $mv_opt -s v -l verbose --description "Verbose mode"
complete $mv_opt -l case-ok --description "Don't refuse to add files differing only in case"
#
# Completions for the 'mv' subcommand
#
complete -c darcs -n 'contains mv (commandline -poc)' -l case-ok --description 'Don\'t refuse to add files differing only in case'
complete -c darcs -n 'contains mv (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains mv (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains mv (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains mv (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains mv (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains mv (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains mv (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains mv (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains mv (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
set -l send_opt -c darcs -n 'contains send (commandline -poc)'
complete $send_opt -s v -l verbose --description "Verbose mode"
complete $send_opt -s q -l quiet --description "Suppress informational output"
complete $send_opt -xs p -l patches --description "Select patches matching REGEXP"
complete $send_opt -xs t -l tags --description "Select tags matching REGEXP"
complete $send_opt -s a -l all --description "Answer yes to all patches"
complete $send_opt -xs A -l author --description "Specify author id"
complete $send_opt -rs o -l output --description "Specify output filename"
complete $send_opt -s u -l unified --description "Output patch in a darcs-specific format similar to diff -u"
complete $send_opt -s s -l summary --description "Summarize changes"
complete $send_opt -xl matches --description "Select patches matching PATTERN"
complete $send_opt -l interactive --description "Prompt user interactively"
complete $send_opt -xl from --description "Specify email address"
complete $send_opt -xl to --description "Specify destination email"
complete $send_opt -xl cc --description "Mail results to additional EMAIL(s). Requires --reply"
complete $send_opt -l sign --description "Sign the patch with your gpg key"
complete $send_opt -xl sign-as --description "Sign the patch with a given keyid"
complete $send_opt -rl sign-ssl --description "Sign the patch using openssl with a given private key"
complete $send_opt -l dont-sign --description "Do not sign the patch"
complete $send_opt -l dry-run --description "Don't actually take the action"
complete $send_opt -l no-summary --description "Don't summarize changes"
complete $send_opt -rl context --description "Send to context stored in FILENAME"
complete $send_opt -l edit-description --description "Edit the patch bundle description"
complete $send_opt -l set-default --description "Set default repository [DEFAULT]"
complete $send_opt -l no-set-default --description "Don't set default repository"
complete $send_opt -rl sendmail-command --description "Specify sendmail command"
#
# Completions for the 'replace' subcommand
#
complete -c darcs -n 'contains replace (commandline -poc)' -l token-chars -x --description 'Define token to contain these characters'
complete -c darcs -n 'contains replace (commandline -poc)' -s f -l force --description 'Proceed with replace even if \'new\' token already exists'
complete -c darcs -n 'contains replace (commandline -poc)' -l no-force --description 'Don\'t force the replace if it looks scary'
complete -c darcs -n 'contains replace (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains replace (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains replace (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains replace (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains replace (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains replace (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains replace (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains replace (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains replace (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
set -l init_opt -c darcs -n 'contains initialize (commandline -poc)'
complete $init_opt -l plain-pristine-tree --description "Use a plain pristine tree [DEFAULT]"
complete $init_opt -l no-pristine-tree --description "Use no pristine tree"
#
# Completions for the 'revert' subcommand
#
complete -c darcs -n 'contains revert (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains revert (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains revert (commandline -poc)' -l ignore-times --description 'Don\'t trust the file modification times'
complete -c darcs -n 'contains revert (commandline -poc)' -s a -l all --description 'Answer yes to all patches'
complete -c darcs -n 'contains revert (commandline -poc)' -s i -l interactive --description 'Prompt user interactively'
complete -c darcs -n 'contains revert (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains revert (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains revert (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains revert (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains revert (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains revert (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains revert (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
set -l annotate_opt -c darcs -n 'contains annotate (commandline -poc)'
complete $annotate_opt -s s -l summary --description "Summarize changes"
complete $annotate_opt -l no-summary --description "Don't summarize changes"
complete $annotate_opt -s u -l unified --description "Output patch in a darcs-specific format similar to diff -u"
complete $annotate_opt -l human-readable --description "Give human readable output"
complete $annotate_opt -l xml-output --description "Generate XML formatted output"
complete $annotate_opt -l match -x --description "Select patch matching PATTERN"
complete $annotate_opt -s p -l patch -x --description "Select patch matching REGEXP"
complete $annotate_opt -s t -l tag -x --description "Select tag matching REGEXP"
complete $annotate_opt -l creator-hash -x --description "Specify hash of creator patch (see docs)"
#
# Completions for the 'unrevert' subcommand
#
complete -c darcs -n 'contains unrevert (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains unrevert (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains unrevert (commandline -poc)' -l ignore-times --description 'Don\'t trust the file modification times'
complete -c darcs -n 'contains unrevert (commandline -poc)' -s a -l all --description 'Answer yes to all patches'
complete -c darcs -n 'contains unrevert (commandline -poc)' -s i -l interactive --description 'Prompt user interactively'
complete -c darcs -n 'contains unrevert (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains unrevert (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains unrevert (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains unrevert (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains unrevert (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains unrevert (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains unrevert (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
set -l changes_opt -c darcs -n 'contains changes (commandline -poc)'
complete $changes_opt -l to-match -x --description "Select changes up to a patch matching PATTERN"
complete $changes_opt -l to-patch -x --description "Select changes up to a patch matching REGEXP"
complete $changes_opt -l to-tag -x --description "Select changes up to a tag matching REGEXP"
complete $changes_opt -l from-match -x --description "Select changes starting with a patch matching PATTERN"
complete $changes_opt -l from-patch -x --description "Select changes starting with a patch matching REGEXP"
complete $changes_opt -l from-tag -x --description "Select changes starting with a tag matching REGEXP"
complete $changes_opt -l last -x --description "Select the last NUMBER patches"
complete $changes_opt -l matches -x --description "Select patches matching PATTERN"
complete $changes_opt -s p -l patches -x --description "Select patches matching REGEXP"
complete $changes_opt -s t -l tags -x --description "Select tags matching REGEXP"
complete $changes_opt -l context --description "Give output suitable for get --context"
complete $changes_opt -l xml-output --description "Generate XML formatted output"
complete $changes_opt -l human-readable --description "Give human-readable output"
complete $changes_opt -s s -l summary --description "Summarize changes"
complete $changes_opt -l no-summary --description "Don't summarize changes"
complete $changes_opt -s q -l quiet --description "Suppress informational output"
complete $changes_opt -l reverse --description "Show changes in reverse order"
complete $changes_opt -l repo -x --description "Specify the repository URL"
#
# Completions for the 'whatsnew' subcommand
#
complete -c darcs -n 'contains whatsnew (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -s s -l summary --description 'Summarize changes'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l no-summary --description 'Don\'t summarize changes'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -s u -l unified --description 'Output patch in a darcs-specific format similar to diff -u'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l ignore-times --description 'Don\'t trust the file modification times'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -s l -l look-for-adds --description 'In addition to modifications, look for files that are not boring, and thus are potentially pending addition'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l dont-look-for-adds --description 'Don\'t look for any files or directories that could be added, and don\'t add them automatically'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l boring --description 'Don\'t skip boring files'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains whatsnew (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
set -l add_opt -c darcs -n 'contains add (commandline -poc)'
complete $add_opt -l boring --description "Don't skip boring files"
complete $add_opt -l case-ok --description "Don't refuse to add files differing only in case"
complete $add_opt -s r -l recursive --description "Add contents of subdirectories"
complete $add_opt -l not-recursive --description "Don't add contents of subdirectories"
complete $add_opt -l date-trick --description "Add files with date appended to avoid conflict. [EXPERIMENTAL]"
complete $add_opt -l no-date-trick --description "Don't use experimental date appending trick. [DEFAULT]"
complete $add_opt -s q -l quiet --description "Suppress informational output"
complete $add_opt -l dry-run --description "Don't actually take the action"
complete $add_opt -s q -l quiet --description "Suppress informational output"
#
# Completions for the 'record' subcommand
#
complete -c darcs -n 'contains record (commandline -poc)' -l logfile -r --description 'Give patch name and comment in file'
complete -c darcs -n 'contains record (commandline -poc)' -l delete-logfile --description 'Delete the logfile when done'
complete -c darcs -n 'contains record (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains record (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains record (commandline -poc)' -l no-test --description 'Don\'t run the test script'
complete -c darcs -n 'contains record (commandline -poc)' -l test --description 'Run the test script'
complete -c darcs -n 'contains record (commandline -poc)' -l leave-test-directory --description 'Don\'t remove the test directory'
complete -c darcs -n 'contains record (commandline -poc)' -l remove-test-directory --description 'Remove the test directory'
complete -c darcs -n 'contains record (commandline -poc)' -l compress --description 'Create compressed patches'
complete -c darcs -n 'contains record (commandline -poc)' -l dont-compress --description 'Don\'t create compressed patches'
complete -c darcs -n 'contains record (commandline -poc)' -s a -l all --description 'Answer yes to all patches'
complete -c darcs -n 'contains record (commandline -poc)' -l pipe --description 'Expect to receive input from a pipe'
complete -c darcs -n 'contains record (commandline -poc)' -s i -l interactive --description 'Prompt user interactively'
complete -c darcs -n 'contains record (commandline -poc)' -l ask-deps --description 'Ask for extra dependencies'
complete -c darcs -n 'contains record (commandline -poc)' -l no-ask-deps --description 'Don\'t ask for extra dependencies'
complete -c darcs -n 'contains record (commandline -poc)' -l edit-long-comment --description 'Edit the long comment by default'
complete -c darcs -n 'contains record (commandline -poc)' -l skip-long-comment --description 'Don\'t give a long comment'
complete -c darcs -n 'contains record (commandline -poc)' -l prompt-long-comment --description 'Prompt for whether to edit the long comment'
complete -c darcs -n 'contains record (commandline -poc)' -l ignore-times --description 'Don\'t trust the file modification times'
complete -c darcs -n 'contains record (commandline -poc)' -s l -l look-for-adds --description 'In addition to modifications, look for files that are not boring, and thus are potentially pending addition'
complete -c darcs -n 'contains record (commandline -poc)' -l dont-look-for-adds --description 'Don\'t look for any files or directories that could be added, and don\'t add them automatically'
complete -c darcs -n 'contains record (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains record (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains record (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains record (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains record (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains record (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains record (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
set -l optimize_opt -c darcs -n 'contains optimize (commandline -poc)'
complete $optimize_opt -l checkpoint --description "Create a checkpoint file"
complete $optimize_opt -l compress --description "Create compressed patches"
complete $optimize_opt -l dont-compress --description "Don't create compressed patches"
complete $optimize_opt -l uncompress --description "Uncompress patches"
complete $optimize_opt -s t -l tag -r --description "Name of version to checkpoint"
complete $optimize_opt -l modernize-patches --description "Rewrite all patches in current darcs format"
complete $optimize_opt -l reorder-patches --description "Reorder the patches in the repository"
complete $optimize_opt -l sibling -r --description "Specify a sibling directory"
complete $optimize_opt -l relink --description "Relink random internal data to a sibling"
complete $optimize_opt -l relink-pristine --description "Relink pristine tree (not recommended)"
complete $optimize_opt -l posthook -r --description "Specify command to run after this darcs command."
complete $optimize_opt -l no-posthook --description "Do not run posthook command."
complete $optimize_opt -l prompt-posthook --description "Prompt before running posthook. [DEFAULT]"
complete $optimize_opt -l run-posthook --description "Run posthook command without prompting."
#
# Completions for the 'unrecord' subcommand
#
complete -c darcs -n 'contains unrecord (commandline -poc)' -l from-match -x --description 'Select changes starting with a patch matching PATTERN'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l from-patch -x --description 'Select changes starting with a patch matching REGEXP'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l from-tag -x --description 'Select changes starting with a tag matching REGEXP'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l last -x --description 'Select the last NUMBER patches'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l matches -x --description 'Select patches matching PATTERN'
complete -c darcs -n 'contains unrecord (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l compress --description 'Create compressed patches'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l dont-compress --description 'Don\'t create compressed patches'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains unrecord (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains unrecord (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'amend-record' subcommand
#
complete -c darcs -n 'contains amend-record (commandline -poc)' -l match -x --description 'Select patch matching PATTERN'
complete -c darcs -n 'contains amend-record (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l no-test --description 'Don\'t run the test script'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l test --description 'Run the test script'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l leave-test-directory --description 'Don\'t remove the test directory'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l remove-test-directory --description 'Remove the test directory'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l compress --description 'Create compressed patches'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l dont-compress --description 'Don\'t create compressed patches'
complete -c darcs -n 'contains amend-record (commandline -poc)' -s a -l all --description 'Answer yes to all patches'
complete -c darcs -n 'contains amend-record (commandline -poc)' -s i -l interactive --description 'Prompt user interactively'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l ignore-times --description 'Don\'t trust the file modification times'
complete -c darcs -n 'contains amend-record (commandline -poc)' -s l -l look-for-adds --description 'In addition to modifications, look for files that are not boring, and thus are potentially pending addition'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l dont-look-for-adds --description 'Don\'t look for any files or directories that could be added, and don\'t add them automatically'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains amend-record (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains amend-record (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'resolve' subcommand
#
complete -c darcs -n 'contains resolve (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains resolve (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains resolve (commandline -poc)' -l ignore-times --description 'Don\'t trust the file modification times'
complete -c darcs -n 'contains resolve (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains resolve (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains resolve (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains resolve (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains resolve (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains resolve (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains resolve (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'tag' subcommand
#
complete -c darcs -n 'contains tag (commandline -poc)' -l checkpoint --description 'Create a checkpoint file'
complete -c darcs -n 'contains tag (commandline -poc)' -l compress --description 'Create compressed patches'
complete -c darcs -n 'contains tag (commandline -poc)' -l dont-compress --description 'Don\'t create compressed patches'
complete -c darcs -n 'contains tag (commandline -poc)' -l pipe --description 'Expect to receive input from a pipe'
complete -c darcs -n 'contains tag (commandline -poc)' -s i -l interactive --description 'Prompt user interactively'
complete -c darcs -n 'contains tag (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains tag (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains tag (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains tag (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains tag (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains tag (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains tag (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains tag (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains tag (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'setpref' subcommand
#
complete -c darcs -n 'contains setpref (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains setpref (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains setpref (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains setpref (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains setpref (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains setpref (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains setpref (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'rollback' subcommand
#
complete -c darcs -n 'contains rollback (commandline -poc)' -l match -x --description 'Select patch matching PATTERN'
complete -c darcs -n 'contains rollback (commandline -poc)' -l compress --description 'Create compressed patches'
complete -c darcs -n 'contains rollback (commandline -poc)' -l dont-compress --description 'Don\'t create compressed patches'
complete -c darcs -n 'contains rollback (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains rollback (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains rollback (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains rollback (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains rollback (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains rollback (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains rollback (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains rollback (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains rollback (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'diff' subcommand
#
complete -c darcs -n 'contains diff (commandline -poc)' -l to-match -x --description 'Select changes up to a patch matching PATTERN'
complete -c darcs -n 'contains diff (commandline -poc)' -l to-patch -x --description 'Select changes up to a patch matching REGEXP'
complete -c darcs -n 'contains diff (commandline -poc)' -l to-tag -x --description 'Select changes up to a tag matching REGEXP'
complete -c darcs -n 'contains diff (commandline -poc)' -l from-match -x --description 'Select changes starting with a patch matching PATTERN'
complete -c darcs -n 'contains diff (commandline -poc)' -l from-patch -x --description 'Select changes starting with a patch matching REGEXP'
complete -c darcs -n 'contains diff (commandline -poc)' -l from-tag -x --description 'Select changes starting with a tag matching REGEXP'
complete -c darcs -n 'contains diff (commandline -poc)' -l match -x --description 'Select a single patch matching PATTERN'
complete -c darcs -n 'contains diff (commandline -poc)' -l last -x --description 'Select the last NUMBER patches'
complete -c darcs -n 'contains diff (commandline -poc)' -l diff-command -x -a (__fish_complete_command) --description 'Specify diff command (ignores --diff-opts)'
complete -c darcs -n 'contains diff (commandline -poc)' -l diff-opts -x --description 'Options to pass to diff'
complete -c darcs -n 'contains diff (commandline -poc)' -s u -l unified --description 'Pass -u option to diff'
complete -c darcs -n 'contains diff (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains diff (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains diff (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains diff (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains diff (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains diff (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains diff (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'changes' subcommand
#
complete -c darcs -n 'contains changes (commandline -poc)' -l to-match -x --description 'Select changes up to a patch matching PATTERN'
complete -c darcs -n 'contains changes (commandline -poc)' -l to-patch -x --description 'Select changes up to a patch matching REGEXP'
complete -c darcs -n 'contains changes (commandline -poc)' -l to-tag -x --description 'Select changes up to a tag matching REGEXP'
complete -c darcs -n 'contains changes (commandline -poc)' -l from-match -x --description 'Select changes starting with a patch matching PATTERN'
complete -c darcs -n 'contains changes (commandline -poc)' -l from-patch -x --description 'Select changes starting with a patch matching REGEXP'
complete -c darcs -n 'contains changes (commandline -poc)' -l from-tag -x --description 'Select changes starting with a tag matching REGEXP'
complete -c darcs -n 'contains changes (commandline -poc)' -l last -x --description 'Select the last NUMBER patches'
complete -c darcs -n 'contains changes (commandline -poc)' -l matches -x --description 'Select patches matching PATTERN'
complete -c darcs -n 'contains changes (commandline -poc)' -l context --description 'Give output suitable for get --context'
complete -c darcs -n 'contains changes (commandline -poc)' -l xml-output --description 'Generate XML formatted output'
complete -c darcs -n 'contains changes (commandline -poc)' -l human-readable --description 'Give human-readable output'
complete -c darcs -n 'contains changes (commandline -poc)' -s s -l summary --description 'Summarize changes'
complete -c darcs -n 'contains changes (commandline -poc)' -l no-summary --description 'Don\'t summarize changes'
complete -c darcs -n 'contains changes (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains changes (commandline -poc)' -s q -l quiet --description 'Suppress informational output'
complete -c darcs -n 'contains changes (commandline -poc)' -l standard-verbosity --description 'Neither verbose nor quiet output'
complete -c darcs -n 'contains changes (commandline -poc)' -l reverse --description 'Show changes in reverse order'
complete -c darcs -n 'contains changes (commandline -poc)' -l repo -x --description 'Specify the repository URL'
complete -c darcs -n 'contains changes (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains changes (commandline -poc)' -s a -l all --description 'Answer yes to all patches'
complete -c darcs -n 'contains changes (commandline -poc)' -s i -l interactive --description 'Prompt user interactively'
complete -c darcs -n 'contains changes (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains changes (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains changes (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains changes (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains changes (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains changes (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'annotate' subcommand
#
complete -c darcs -n 'contains annotate (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains annotate (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains annotate (commandline -poc)' -s s -l summary --description 'Summarize changes'
complete -c darcs -n 'contains annotate (commandline -poc)' -l no-summary --description 'Don\'t summarize changes'
complete -c darcs -n 'contains annotate (commandline -poc)' -s u -l unified --description 'Output patch in a darcs-specific format similar to diff -u'
complete -c darcs -n 'contains annotate (commandline -poc)' -l human-readable --description 'Give human-readable output'
complete -c darcs -n 'contains annotate (commandline -poc)' -l xml-output --description 'Generate XML formatted output'
complete -c darcs -n 'contains annotate (commandline -poc)' -l match -x --description 'Select patch matching PATTERN'
complete -c darcs -n 'contains annotate (commandline -poc)' -l creator-hash -x --description 'Specify hash of creator patch (see docs)'
complete -c darcs -n 'contains annotate (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains annotate (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains annotate (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains annotate (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains annotate (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains annotate (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains annotate (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'dist' subcommand
#
complete -c darcs -n 'contains dist (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains dist (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains dist (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains dist (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains dist (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains dist (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains dist (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains dist (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains dist (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'trackdown' subcommand
#
complete -c darcs -n 'contains trackdown (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains trackdown (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains trackdown (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains trackdown (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains trackdown (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains trackdown (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains trackdown (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains trackdown (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains trackdown (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'query' subcommand
#
complete -c darcs -n 'contains query (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
#
# Completions for the 'pull' subcommand
#
complete -c darcs -n 'contains pull (commandline -poc)' -l matches -x --description 'Select patches matching PATTERN'
complete -c darcs -n 'contains pull (commandline -poc)' -s a -l all --description 'Answer yes to all patches'
complete -c darcs -n 'contains pull (commandline -poc)' -s i -l interactive --description 'Prompt user interactively'
complete -c darcs -n 'contains pull (commandline -poc)' -l intersection --description 'Take intersection of all repositories'
complete -c darcs -n 'contains pull (commandline -poc)' -l union --description 'Take union of all repositories [default]'
complete -c darcs -n 'contains pull (commandline -poc)' -l external-merge -x -a (__fish_complete_command) --description 'Use external tool to merge conflicts'
complete -c darcs -n 'contains pull (commandline -poc)' -l compress --description 'Create compressed patches'
complete -c darcs -n 'contains pull (commandline -poc)' -l dont-compress --description 'Don\'t create compressed patches'
complete -c darcs -n 'contains pull (commandline -poc)' -l test --description 'Run the test script'
complete -c darcs -n 'contains pull (commandline -poc)' -l no-test --description 'Don\'t run the test script'
complete -c darcs -n 'contains pull (commandline -poc)' -l dry-run --description 'Don\'t actually take the action'
complete -c darcs -n 'contains pull (commandline -poc)' -s s -l summary --description 'Summarize changes'
complete -c darcs -n 'contains pull (commandline -poc)' -l no-summary --description 'Don\'t summarize changes'
complete -c darcs -n 'contains pull (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains pull (commandline -poc)' -s q -l quiet --description 'Suppress informational output'
complete -c darcs -n 'contains pull (commandline -poc)' -l standard-verbosity --description 'Neither verbose nor quiet output'
complete -c darcs -n 'contains pull (commandline -poc)' -l ignore-times --description 'Don\'t trust the file modification times'
complete -c darcs -n 'contains pull (commandline -poc)' -l no-deps --description 'Don\'t automatically fulfill dependencies'
complete -c darcs -n 'contains pull (commandline -poc)' -l set-default --description 'Set default repository [DEFAULT]'
complete -c darcs -n 'contains pull (commandline -poc)' -l no-set-default --description 'Don\'t set default repository'
complete -c darcs -n 'contains pull (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains pull (commandline -poc)' -l set-scripts-executable --description 'Make scripts executable'
complete -c darcs -n 'contains pull (commandline -poc)' -l dont-set-scripts-executable --description 'Don\'t make scripts executable'
complete -c darcs -n 'contains pull (commandline -poc)' -l disable-ssh-cm --description 'Disable use of SSH ControlMaster feature'
complete -c darcs -n 'contains pull (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains pull (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains pull (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains pull (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains pull (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains pull (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'unpull' subcommand
#
complete -c darcs -n 'contains unpull (commandline -poc)' -l from-match -x --description 'Select changes starting with a patch matching PATTERN'
complete -c darcs -n 'contains unpull (commandline -poc)' -l from-patch -x --description 'Select changes starting with a patch matching REGEXP'
complete -c darcs -n 'contains unpull (commandline -poc)' -l from-tag -x --description 'Select changes starting with a tag matching REGEXP'
complete -c darcs -n 'contains unpull (commandline -poc)' -l last -x --description 'Select the last NUMBER patches'
complete -c darcs -n 'contains unpull (commandline -poc)' -l matches -x --description 'Select patches matching PATTERN'
complete -c darcs -n 'contains unpull (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains unpull (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains unpull (commandline -poc)' -l compress --description 'Create compressed patches'
complete -c darcs -n 'contains unpull (commandline -poc)' -l dont-compress --description 'Don\'t create compressed patches'
complete -c darcs -n 'contains unpull (commandline -poc)' -l ignore-times --description 'Don\'t trust the file modification times'
complete -c darcs -n 'contains unpull (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains unpull (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains unpull (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains unpull (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains unpull (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains unpull (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains unpull (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'obliterate' subcommand
#
complete -c darcs -n 'contains obliterate (commandline -poc)' -l from-match -x --description 'Select changes starting with a patch matching PATTERN'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l from-patch -x --description 'Select changes starting with a patch matching REGEXP'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l from-tag -x --description 'Select changes starting with a tag matching REGEXP'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l last -x --description 'Select the last NUMBER patches'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l matches -x --description 'Select patches matching PATTERN'
complete -c darcs -n 'contains obliterate (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l compress --description 'Create compressed patches'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l dont-compress --description 'Don\'t create compressed patches'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l ignore-times --description 'Don\'t trust the file modification times'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains obliterate (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains obliterate (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'push' subcommand
#
complete -c darcs -n 'contains push (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains push (commandline -poc)' -s q -l quiet --description 'Suppress informational output'
complete -c darcs -n 'contains push (commandline -poc)' -l standard-verbosity --description 'Neither verbose nor quiet output'
complete -c darcs -n 'contains push (commandline -poc)' -l matches -x --description 'Select patches matching PATTERN'
complete -c darcs -n 'contains push (commandline -poc)' -s a -l all --description 'Answer yes to all patches'
complete -c darcs -n 'contains push (commandline -poc)' -s i -l interactive --description 'Prompt user interactively'
complete -c darcs -n 'contains push (commandline -poc)' -l apply-as -x -a (__fish_complete_users) --description 'Apply patch as another user using sudo'
complete -c darcs -n 'contains push (commandline -poc)' -l apply-as-myself --description 'Don\'t use sudo to apply as another user [DEFAULT]'
complete -c darcs -n 'contains push (commandline -poc)' -l sign --description 'Sign the patch with your gpg key'
complete -c darcs -n 'contains push (commandline -poc)' -l sign-as -x --description 'Sign the patch with a given keyid'
complete -c darcs -n 'contains push (commandline -poc)' -l sign-ssl -x --description 'Sign the patch using openssl with a given private key'
complete -c darcs -n 'contains push (commandline -poc)' -l dont-sign --description 'Do not sign the patch'
complete -c darcs -n 'contains push (commandline -poc)' -l dry-run --description 'Don\'t actually take the action'
complete -c darcs -n 'contains push (commandline -poc)' -s s -l summary --description 'Summarize changes'
complete -c darcs -n 'contains push (commandline -poc)' -l no-summary --description 'Don\'t summarize changes'
complete -c darcs -n 'contains push (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains push (commandline -poc)' -l disable-ssh-cm --description 'Disable use of SSH ControlMaster feature'
complete -c darcs -n 'contains push (commandline -poc)' -l set-default --description 'Set default repository [DEFAULT]'
complete -c darcs -n 'contains push (commandline -poc)' -l no-set-default --description 'Don\'t set default repository'
complete -c darcs -n 'contains push (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains push (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains push (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains push (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains push (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains push (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'send' subcommand
#
complete -c darcs -n 'contains send (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains send (commandline -poc)' -s q -l quiet --description 'Suppress informational output'
complete -c darcs -n 'contains send (commandline -poc)' -l standard-verbosity --description 'Neither verbose nor quiet output'
complete -c darcs -n 'contains send (commandline -poc)' -l matches -x --description 'Select patches matching PATTERN'
complete -c darcs -n 'contains send (commandline -poc)' -s a -l all --description 'Answer yes to all patches'
complete -c darcs -n 'contains send (commandline -poc)' -s i -l interactive --description 'Prompt user interactively'
complete -c darcs -n 'contains send (commandline -poc)' -l from -x --description 'Specify email address'
complete -c darcs -n 'contains send (commandline -poc)' -l to -x --description 'Specify destination email'
complete -c darcs -n 'contains send (commandline -poc)' -l cc -x --description 'Mail results to additional EMAIL(s). Requires --reply'
complete -c darcs -n 'contains send (commandline -poc)' -l subject -x --description 'Specify mail subject'
complete -c darcs -n 'contains send (commandline -poc)' -l sign --description 'Sign the patch with your gpg key'
complete -c darcs -n 'contains send (commandline -poc)' -l sign-as -x --description 'Sign the patch with a given keyid'
complete -c darcs -n 'contains send (commandline -poc)' -l sign-ssl -x --description 'Sign the patch using openssl with a given private key'
complete -c darcs -n 'contains send (commandline -poc)' -l dont-sign --description 'Do not sign the patch'
complete -c darcs -n 'contains send (commandline -poc)' -s u -l unified --description 'Output patch in a darcs-specific format similar to diff -u'
complete -c darcs -n 'contains send (commandline -poc)' -l dry-run --description 'Don\'t actually take the action'
complete -c darcs -n 'contains send (commandline -poc)' -s s -l summary --description 'Summarize changes'
complete -c darcs -n 'contains send (commandline -poc)' -l no-summary --description 'Don\'t summarize changes'
complete -c darcs -n 'contains send (commandline -poc)' -l context -r --description 'Send to context stored in FILENAME'
complete -c darcs -n 'contains send (commandline -poc)' -l edit-description --description 'Edit the patch bundle description'
complete -c darcs -n 'contains send (commandline -poc)' -l dont-edit-description --description 'Don\'t edit the patch bundle description'
complete -c darcs -n 'contains send (commandline -poc)' -l logfile -r --description 'Give patch name and comment in file'
complete -c darcs -n 'contains send (commandline -poc)' -l delete-logfile --description 'Delete the logfile when done'
complete -c darcs -n 'contains send (commandline -poc)' -l set-default --description 'Set default repository [DEFAULT]'
complete -c darcs -n 'contains send (commandline -poc)' -l no-set-default --description 'Don\'t set default repository'
complete -c darcs -n 'contains send (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains send (commandline -poc)' -l sendmail-command -x -a (__fish_complete_command) --description 'Specify sendmail command'
complete -c darcs -n 'contains send (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains send (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains send (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains send (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains send (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains send (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'apply' subcommand
#
complete -c darcs -n 'contains apply (commandline -poc)' -l verify -x --description 'Verify that the patch was signed by a key in PUBRING'
complete -c darcs -n 'contains apply (commandline -poc)' -l verify-ssl -x --description 'Verify using openSSL with authorized keys from file KEYS'
complete -c darcs -n 'contains apply (commandline -poc)' -l no-verify --description 'Don\'t verify patch signature'
complete -c darcs -n 'contains apply (commandline -poc)' -l reply -x --description 'Reply to email-based patch using FROM address'
complete -c darcs -n 'contains apply (commandline -poc)' -l cc -x --description 'Mail results to additional EMAIL(s). Requires --reply'
complete -c darcs -n 'contains apply (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains apply (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains apply (commandline -poc)' -l ignore-times --description 'Don\'t trust the file modification times'
complete -c darcs -n 'contains apply (commandline -poc)' -l compress --description 'Create compressed patches'
complete -c darcs -n 'contains apply (commandline -poc)' -l dont-compress --description 'Don\'t create compressed patches'
complete -c darcs -n 'contains apply (commandline -poc)' -s a -l all --description 'Answer yes to all patches'
complete -c darcs -n 'contains apply (commandline -poc)' -s i -l interactive --description 'Prompt user interactively'
complete -c darcs -n 'contains apply (commandline -poc)' -l mark-conflicts --description 'Mark conflicts'
complete -c darcs -n 'contains apply (commandline -poc)' -l allow-conflicts --description 'Allow conflicts, but don\'t mark them'
complete -c darcs -n 'contains apply (commandline -poc)' -l external-merge -x -a (__fish_complete_command) --description 'Use external tool to merge conflicts'
complete -c darcs -n 'contains apply (commandline -poc)' -l no-resolve-conflicts --description 'Equivalent to --dont-allow-conflicts, for backwards compatibility'
complete -c darcs -n 'contains apply (commandline -poc)' -l dont-allow-conflicts --description 'Fail on patches that create conflicts [DEFAULT]'
complete -c darcs -n 'contains apply (commandline -poc)' -l no-test --description 'Don\'t run the test script'
complete -c darcs -n 'contains apply (commandline -poc)' -l test --description 'Run the test script'
complete -c darcs -n 'contains apply (commandline -poc)' -l happy-forwarding --description 'Forward unsigned messages without extra header'
complete -c darcs -n 'contains apply (commandline -poc)' -l leave-test-directory --description 'Don\'t remove the test directory'
complete -c darcs -n 'contains apply (commandline -poc)' -l remove-test-directory --description 'Remove the test directory'
complete -c darcs -n 'contains apply (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains apply (commandline -poc)' -l sendmail-command -x -a (__fish_complete_command) --description 'Specify sendmail command'
complete -c darcs -n 'contains apply (commandline -poc)' -l set-scripts-executable --description 'Make scripts executable'
complete -c darcs -n 'contains apply (commandline -poc)' -l dont-set-scripts-executable --description 'Don\'t make scripts executable'
complete -c darcs -n 'contains apply (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains apply (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains apply (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains apply (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains apply (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains apply (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'get' subcommand
#
complete -c darcs -n 'contains get (commandline -poc)' -l repo-name -x -a (__fish_complete_directories (commandline -ct)) --description 'Path of output directory'
complete -c darcs -n 'contains get (commandline -poc)' -l partial --description 'Get partial repository using checkpoint'
complete -c darcs -n 'contains get (commandline -poc)' -l complete --description 'Get a complete copy of the repository'
complete -c darcs -n 'contains get (commandline -poc)' -l to-match -x --description 'Select changes up to a patch matching PATTERN'
complete -c darcs -n 'contains get (commandline -poc)' -l to-patch -x --description 'Select changes up to a patch matching REGEXP'
complete -c darcs -n 'contains get (commandline -poc)' -l tag -x --description 'Select tag matching REGEXP'
complete -c darcs -n 'contains get (commandline -poc)' -l context -r --description 'Version specified by the context in FILENAME'
complete -c darcs -n 'contains get (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains get (commandline -poc)' -s q -l quiet --description 'Suppress informational output'
complete -c darcs -n 'contains get (commandline -poc)' -l standard-verbosity --description 'Neither verbose nor quiet output'
complete -c darcs -n 'contains get (commandline -poc)' -l set-default --description 'Set default repository [DEFAULT]'
complete -c darcs -n 'contains get (commandline -poc)' -l no-set-default --description 'Don\'t set default repository'
complete -c darcs -n 'contains get (commandline -poc)' -l set-scripts-executable --description 'Make scripts executable'
complete -c darcs -n 'contains get (commandline -poc)' -l dont-set-scripts-executable --description 'Don\'t make scripts executable'
complete -c darcs -n 'contains get (commandline -poc)' -l plain-pristine-tree --description 'Use a plain pristine tree [DEFAULT]'
complete -c darcs -n 'contains get (commandline -poc)' -l no-pristine-tree --description 'Use no pristine tree'
complete -c darcs -n 'contains get (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains get (commandline -poc)' -l disable-ssh-cm --description 'Disable use of SSH ControlMaster feature'
complete -c darcs -n 'contains get (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains get (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains get (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains get (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains get (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains get (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'put' subcommand
#
complete -c darcs -n 'contains put (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains put (commandline -poc)' -s q -l quiet --description 'Suppress informational output'
complete -c darcs -n 'contains put (commandline -poc)' -l standard-verbosity --description 'Neither verbose nor quiet output'
complete -c darcs -n 'contains put (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains put (commandline -poc)' -l to-match -x --description 'Select changes up to a patch matching PATTERN'
complete -c darcs -n 'contains put (commandline -poc)' -l to-patch -x --description 'Select changes up to a patch matching REGEXP'
complete -c darcs -n 'contains put (commandline -poc)' -l tag -x --description 'Select tag matching REGEXP'
complete -c darcs -n 'contains put (commandline -poc)' -l context -r --description 'Version specified by the context in FILENAME'
complete -c darcs -n 'contains put (commandline -poc)' -l apply-as -x -a (__fish_complete_users) --description 'Apply patch as another user using sudo'
complete -c darcs -n 'contains put (commandline -poc)' -l apply-as-myself --description 'Don\'t use sudo to apply as another user [DEFAULT]'
complete -c darcs -n 'contains put (commandline -poc)' -l plain-pristine-tree --description 'Use a plain pristine tree [DEFAULT]'
complete -c darcs -n 'contains put (commandline -poc)' -l no-pristine-tree --description 'Use no pristine tree'
complete -c darcs -n 'contains put (commandline -poc)' -l disable-ssh-cm --description 'Disable use of SSH ControlMaster feature'
complete -c darcs -n 'contains put (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains put (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains put (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains put (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains put (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains put (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'initialize' subcommand
#
complete -c darcs -n 'contains initialize (commandline -poc)' -l plain-pristine-tree --description 'Use a plain pristine tree [DEFAULT]'
complete -c darcs -n 'contains initialize (commandline -poc)' -l no-pristine-tree --description 'Use no pristine tree'
complete -c darcs -n 'contains initialize (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains initialize (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains initialize (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains initialize (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains initialize (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains initialize (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains initialize (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'optimize' subcommand
#
complete -c darcs -n 'contains optimize (commandline -poc)' -l checkpoint --description 'Create a checkpoint file'
complete -c darcs -n 'contains optimize (commandline -poc)' -l compress --description 'Create compressed patches'
complete -c darcs -n 'contains optimize (commandline -poc)' -l dont-compress --description 'Don\'t create compressed patches'
complete -c darcs -n 'contains optimize (commandline -poc)' -l uncompress --description 'Uncompress patches'
complete -c darcs -n 'contains optimize (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains optimize (commandline -poc)' -l standard-verbosity --description 'Don\'t give verbose output'
complete -c darcs -n 'contains optimize (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains optimize (commandline -poc)' -l modernize-patches --description 'Rewrite all patches in current darcs format'
complete -c darcs -n 'contains optimize (commandline -poc)' -l reorder-patches --description 'Reorder the patches in the repository'
complete -c darcs -n 'contains optimize (commandline -poc)' -l sibling -x --description 'Specify a sibling directory'
complete -c darcs -n 'contains optimize (commandline -poc)' -l relink --description 'Relink random internal data to a sibling'
complete -c darcs -n 'contains optimize (commandline -poc)' -l relink-pristine --description 'Relink pristine tree (not recommended)'
complete -c darcs -n 'contains optimize (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains optimize (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains optimize (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains optimize (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains optimize (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains optimize (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'check' subcommand
#
complete -c darcs -n 'contains check (commandline -poc)' -l complete --description 'Check the entire repository'
complete -c darcs -n 'contains check (commandline -poc)' -l partial --description 'Check patches since latest checkpoint'
complete -c darcs -n 'contains check (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains check (commandline -poc)' -s q -l quiet --description 'Suppress informational output'
complete -c darcs -n 'contains check (commandline -poc)' -l standard-verbosity --description 'Neither verbose nor quiet output'
complete -c darcs -n 'contains check (commandline -poc)' -l no-test --description 'Don\'t run the test script'
complete -c darcs -n 'contains check (commandline -poc)' -l test --description 'Run the test script'
complete -c darcs -n 'contains check (commandline -poc)' -l leave-test-directory --description 'Don\'t remove the test directory'
complete -c darcs -n 'contains check (commandline -poc)' -l remove-test-directory --description 'Remove the test directory'
complete -c darcs -n 'contains check (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains check (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains check (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains check (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains check (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains check (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains check (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
#
# Completions for the 'repair' subcommand
#
complete -c darcs -n 'contains repair (commandline -poc)' -s v -l verbose --description 'Give verbose output'
complete -c darcs -n 'contains repair (commandline -poc)' -s q -l quiet --description 'Suppress informational output'
complete -c darcs -n 'contains repair (commandline -poc)' -l standard-verbosity --description 'Neither verbose nor quiet output'
complete -c darcs -n 'contains repair (commandline -poc)' -l repodir -x -a (__fish_complete_directories (commandline -ct)) --description 'Specify the repository directory in which to run'
complete -c darcs -n 'contains repair (commandline -poc)' -l disable --description 'Disable this command'
complete -c darcs -n 'contains repair (commandline -poc)' -s h -l help --description 'Shows brief description of command and its arguments'
complete -c darcs -n 'contains repair (commandline -poc)' -l posthook -x -a (__fish_complete_command) --description 'Specify command to run after this darcs command.'
complete -c darcs -n 'contains repair (commandline -poc)' -l no-posthook --description 'Do not run posthook command.'
complete -c darcs -n 'contains repair (commandline -poc)' -l prompt-posthook --description 'Prompt before running posthook. [DEFAULT]'
complete -c darcs -n 'contains repair (commandline -poc)' -l run-posthook --description 'Run posthook command without prompting.'
set -l setpref_opt -c darcs -n 'contains setpref (commandline -poc)'
complete $setpref_opt -l posthook -r --description "Specify command to run after this darcs command."
complete $setpref_opt -l no-posthook --description "Do not run posthook command."
complete $setpref_opt -l prompt-posthook --description "Prompt before running posthook. [DEFAULT]"
complete $setpref_opt -l run-posthook --description "Run posthook command without prompting."

View file

@ -1,10 +1,15 @@
#
# Completions for the hg command (Mercurial)
# Completions for the hg command
# This file was autogenerated by the file make_mercurial_completions.fish
# which is shipped with the fish source code
#
#
# Completions from commandline
#
#
# subcommands
#
@ -57,150 +62,150 @@ complete -c hg -n '__fish_use_subcommand' -x -a version --description 'output ve
# Completions for the 'add' subcommand
#
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -s n -l dry-run --description 'do not perform actions, just print output'
complete -c hg -n 'contains add (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains add (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
complete -c hg -n 'contains add (commandline -poc)' -s -l dry-run --description 'Do not perform actions, just print output'
#
# Completions for the 'annotate' subcommand
#
complete -c hg -s r -l rev --description 'annotate the specified revision'
complete -c hg -s a -l text --description 'treat all files as text'
complete -c hg -s u -l user --description 'list the author'
complete -c hg -s d -l date --description 'list the date'
complete -c hg -s n -l number --description 'list the revision number (default)'
complete -c hg -s c -l changeset --description 'list the changeset'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -n 'contains annotate (commandline -poc)' -s r -l rev --description 'Annotate the specified revision'
complete -c hg -n 'contains annotate (commandline -poc)' -s a -l text --description 'Treat all files as text'
complete -c hg -n 'contains annotate (commandline -poc)' -s u -l user --description 'List the author'
complete -c hg -n 'contains annotate (commandline -poc)' -s d -l date --description 'List the date'
complete -c hg -n 'contains annotate (commandline -poc)' -s -l number --description 'List the revision number (default)'
complete -c hg -n 'contains annotate (commandline -poc)' -s c -l changeset --description 'List the changeset'
complete -c hg -n 'contains annotate (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains annotate (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
# Completions for the 'archive' subcommand
#
complete -c hg -s p -l prefix --description 'directory prefix for files in archive'
complete -c hg -s r -l rev --description 'revision to distribute'
complete -c hg -s t -l type --description 'type of distribution to create'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -l no-decode --description 'do not pass files through decoders'
complete -c hg -n 'contains archive (commandline -poc)' -l no-decode --description 'Do not pass files through decoders'
complete -c hg -n 'contains archive (commandline -poc)' -s p -l prefix --description 'Directory prefix for files in archive'
complete -c hg -n 'contains archive (commandline -poc)' -s r -l rev --description 'Revision to distribute'
complete -c hg -n 'contains archive (commandline -poc)' -s t -l type --description 'Type of distribution to create'
complete -c hg -n 'contains archive (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains archive (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
# Completions for the 'backout' subcommand
#
complete -c hg -s m -l message --description 'use <text> as commit message'
complete -c hg -s l -l logfile --description 'read commit message from <file>'
complete -c hg -s d -l date --description 'record datecode as commit date'
complete -c hg -s u -l user --description 'record user as committer'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -l merge --description 'merge with old dirstate parent after backout'
complete -c hg -l parent --description 'parent to choose when backing out merge'
complete -c hg -n 'contains backout (commandline -poc)' -l merge --description 'Merge with old dirstate parent after backout'
complete -c hg -n 'contains backout (commandline -poc)' -s m -l message --description 'Use <text> as commit message'
complete -c hg -n 'contains backout (commandline -poc)' -s l -l logfile --description 'Read commit message from <file>'
complete -c hg -n 'contains backout (commandline -poc)' -s d -l date --description 'Record datecode as commit date'
complete -c hg -n 'contains backout (commandline -poc)' -l parent --description 'Parent to choose when backing out merge'
complete -c hg -n 'contains backout (commandline -poc)' -s u -l user --description 'Record user as committer'
complete -c hg -n 'contains backout (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains backout (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
# Completions for the 'bundle' subcommand
#
complete -c hg -s f -l force --description 'run even when remote repository is unrelated'
complete -c hg -n 'contains bundle (commandline -poc)' -s f -l force --description 'Run even when remote repository is unrelated'
#
# Completions for the 'cat' subcommand
#
complete -c hg -s o -l output --description 'print output to file with formatted name'
complete -c hg -s r -l rev --description 'print the given revision'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -n 'contains cat (commandline -poc)' -s o -l output --description 'Print output to file with formatted name'
complete -c hg -n 'contains cat (commandline -poc)' -s r -l rev --description 'Print the given revision'
complete -c hg -n 'contains cat (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains cat (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
# Completions for the 'clone' subcommand
#
complete -c hg -s U -l noupdate --description 'do not update the new working directory'
complete -c hg -s r -l rev --description 'a changeset you would like to have after cloning'
complete -c hg -s e -l ssh --description 'specify ssh command to use'
complete -c hg -l pull --description 'use pull protocol to copy metadata'
complete -c hg -l uncompressed --description 'use uncompressed transfer (fast over LAN)'
complete -c hg -l remotecmd --description 'specify hg command to run on the remote side'
complete -c hg -n 'contains clone (commandline -poc)' -s U -l noupdate --description 'Do not update the new working directory'
complete -c hg -n 'contains clone (commandline -poc)' -s r -l rev --description 'A changeset you would like to have after cloning'
complete -c hg -n 'contains clone (commandline -poc)' -l pull --description 'Use pull protocol to copy metadata'
complete -c hg -n 'contains clone (commandline -poc)' -l uncompressed --description 'Use uncompressed transfer (fast over LAN)'
complete -c hg -n 'contains clone (commandline -poc)' -s -l ssh --description 'Specify ssh command to use'
complete -c hg -n 'contains clone (commandline -poc)' -l remotecmd --description 'Specify hg command to run on the remote side'
#
# Completions for the 'commit' subcommand
#
complete -c hg -s A -l addremove --description 'mark new/missing files as added/removed before committing'
complete -c hg -s m -l message --description 'use <text> as commit message'
complete -c hg -s l -l logfile --description 'read the commit message from <file>'
complete -c hg -s d -l date --description 'record datecode as commit date'
complete -c hg -s u -l user --description 'record user as commiter'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -n 'contains commit (commandline -poc)' -s A -l addremove --description 'Mark new/missing files as added/removed before committing'
complete -c hg -n 'contains commit (commandline -poc)' -s m -l message --description 'Use <text> as commit message'
complete -c hg -n 'contains commit (commandline -poc)' -s l -l logfile --description 'Read the commit message from <file>'
complete -c hg -n 'contains commit (commandline -poc)' -s d -l date --description 'Record datecode as commit date'
complete -c hg -n 'contains commit (commandline -poc)' -s u -l user --description 'Record user as commiter'
complete -c hg -n 'contains commit (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains commit (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
# Completions for the 'copy' subcommand
#
complete -c hg -s A -l after --description 'record a copy that has already occurred'
complete -c hg -s f -l force --description 'forcibly copy over an existing managed file'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -s n -l dry-run --description 'do not perform actions, just print output'
complete -c hg -n 'contains copy (commandline -poc)' -s A -l after --description 'Record a copy that has already occurred'
complete -c hg -n 'contains copy (commandline -poc)' -s f -l force --description 'Forcibly copy over an existing managed file'
complete -c hg -n 'contains copy (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains copy (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
complete -c hg -n 'contains copy (commandline -poc)' -s -l dry-run --description 'Do not perform actions, just print output'
#
# Completions for the 'diff' subcommand
#
complete -c hg -s r -l rev --description 'revision'
complete -c hg -s a -l text --description 'treat all files as text'
complete -c hg -s p -l show-function --description 'show which function each change is in'
complete -c hg -s w -l ignore-all-space --description 'ignore white space when comparing lines'
complete -c hg -s b -l ignore-space-change --description 'ignore changes in the amount of white space'
complete -c hg -s B -l ignore-blank-lines --description 'ignore changes whose lines are all blank'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -n 'contains diff (commandline -poc)' -s r -l rev --description 'Revision'
complete -c hg -n 'contains diff (commandline -poc)' -s a -l text --description 'Treat all files as text'
complete -c hg -n 'contains diff (commandline -poc)' -s p -l show-function --description 'Show which function each change is in'
complete -c hg -n 'contains diff (commandline -poc)' -s w -l ignore-all-space --description 'Ignore white space when comparing lines'
complete -c hg -n 'contains diff (commandline -poc)' -s b -l ignore-space-change --description 'Ignore changes in the amount of white space'
complete -c hg -n 'contains diff (commandline -poc)' -s B -l ignore-blank-lines --description 'Ignore changes whose lines are all blank'
complete -c hg -n 'contains diff (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains diff (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
# Completions for the 'export' subcommand
#
complete -c hg -s o -l output --description 'print output to file with formatted name'
complete -c hg -s a -l text --description 'treat all files as text'
complete -c hg -l switch-parent --description 'diff against the second parent'
complete -c hg -n 'contains export (commandline -poc)' -s o -l output --description 'Print output to file with formatted name'
complete -c hg -n 'contains export (commandline -poc)' -s a -l text --description 'Treat all files as text'
complete -c hg -n 'contains export (commandline -poc)' -l switch-parent --description 'Diff against the second parent'
#
# Completions for the 'grep' subcommand
#
complete -c hg -s 0 -l print0 --description 'end fields with NUL'
complete -c hg -s i -l ignore-case --description 'ignore case when matching'
complete -c hg -s l -l files-with-matches --description 'print only filenames and revs that match'
complete -c hg -s n -l line-number --description 'print matching line numbers'
complete -c hg -s r -l rev --description 'search in given revision range'
complete -c hg -s u -l user --description 'print user who committed change'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -l all --description 'print all revisions that match'
complete -c hg -n 'contains grep (commandline -poc)' -s 0 -l print0 --description 'End fields with NUL'
complete -c hg -n 'contains grep (commandline -poc)' -l all --description 'Print all revisions that match'
complete -c hg -n 'contains grep (commandline -poc)' -s i -l ignore-case --description 'Ignore case when matching'
complete -c hg -n 'contains grep (commandline -poc)' -s l -l files-with-matches --description 'Print only filenames and revs that match'
complete -c hg -n 'contains grep (commandline -poc)' -s -l line-number --description 'Print matching line numbers'
complete -c hg -n 'contains grep (commandline -poc)' -s r -l rev --description 'Search in given revision range'
complete -c hg -n 'contains grep (commandline -poc)' -s u -l user --description 'Print user who committed change'
complete -c hg -n 'contains grep (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains grep (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
# Completions for the 'heads' subcommand
#
complete -c hg -s b -l branches --description 'show branches'
complete -c hg -s r -l rev --description 'show only heads which are descendants of rev'
complete -c hg -l style --description 'display using template map file'
complete -c hg -l template --description 'display with template'
complete -c hg -n 'contains heads (commandline -poc)' -s b -l branches --description 'Show branches'
complete -c hg -n 'contains heads (commandline -poc)' -l style --description 'Display using template map file'
complete -c hg -n 'contains heads (commandline -poc)' -s r -l rev --description 'Show only heads which are descendants of rev'
complete -c hg -n 'contains heads (commandline -poc)' -l template --description 'Display with template'
#
@ -219,62 +224,62 @@ complete -c hg -l template --description 'display with template'
# Completions for the 'import' subcommand
#
complete -c hg -s p -l strip --description 'directory strip option for patch. This has the same'
complete -c hg -s m -l message --description 'use <text> as commit message'
complete -c hg -s b -l base --description 'base path'
complete -c hg -s f -l force --description 'skip check for outstanding uncommitted changes'
complete -c hg -n 'contains import (commandline -poc)' -s p -l strip --description 'Directory strip option for patch. This has the same'
complete -c hg -n 'contains import (commandline -poc)' -s m -l message --description 'Use <text> as commit message'
complete -c hg -n 'contains import (commandline -poc)' -s b -l base --description 'Base path'
complete -c hg -n 'contains import (commandline -poc)' -s f -l force --description 'Skip check for outstanding uncommitted changes'
#
# Completions for the 'incoming' subcommand
#
complete -c hg -s M -l no-merges --description 'do not show merges'
complete -c hg -s f -l force --description 'run even when remote repository is unrelated'
complete -c hg -s n -l newest-first --description 'show newest record first'
complete -c hg -s p -l patch --description 'show patch'
complete -c hg -s r -l rev --description 'a specific revision you would like to pull'
complete -c hg -s e -l ssh --description 'specify ssh command to use'
complete -c hg -l style --description 'display using template map file'
complete -c hg -l bundle --description 'file to store the bundles into'
complete -c hg -l template --description 'display with template'
complete -c hg -l remotecmd --description 'specify hg command to run on the remote side'
complete -c hg -n 'contains incoming (commandline -poc)' -s M -l no-merges --description 'Do not show merges'
complete -c hg -n 'contains incoming (commandline -poc)' -s f -l force --description 'Run even when remote repository is unrelated'
complete -c hg -n 'contains incoming (commandline -poc)' -l style --description 'Display using template map file'
complete -c hg -n 'contains incoming (commandline -poc)' -s -l newest-first --description 'Show newest record first'
complete -c hg -n 'contains incoming (commandline -poc)' -l bundle --description 'File to store the bundles into'
complete -c hg -n 'contains incoming (commandline -poc)' -s p -l patch --description 'Show patch'
complete -c hg -n 'contains incoming (commandline -poc)' -s r -l rev --description 'A specific revision you would like to pull'
complete -c hg -n 'contains incoming (commandline -poc)' -l template --description 'Display with template'
complete -c hg -n 'contains incoming (commandline -poc)' -s -l ssh --description 'Specify ssh command to use'
complete -c hg -n 'contains incoming (commandline -poc)' -l remotecmd --description 'Specify hg command to run on the remote side'
#
# Completions for the 'init' subcommand
#
complete -c hg -s e -l ssh --description 'specify ssh command to use'
complete -c hg -l remotecmd --description 'specify hg command to run on the remote side'
complete -c hg -n 'contains init (commandline -poc)' -s -l ssh --description 'Specify ssh command to use'
complete -c hg -n 'contains init (commandline -poc)' -l remotecmd --description 'Specify hg command to run on the remote side'
#
# Completions for the 'locate' subcommand
#
complete -c hg -s r -l rev --description 'search the repository as it stood at rev'
complete -c hg -s 0 -l print0 --description 'end filenames with NUL, for use with xargs'
complete -c hg -s f -l fullpath --description 'print complete paths from the filesystem root'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -n 'contains locate (commandline -poc)' -s r -l rev --description 'Search the repository as it stood at rev'
complete -c hg -n 'contains locate (commandline -poc)' -s 0 -l print0 --description 'End filenames with NUL, for use with xargs'
complete -c hg -n 'contains locate (commandline -poc)' -s f -l fullpath --description 'Print complete paths from the filesystem root'
complete -c hg -n 'contains locate (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains locate (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
# Completions for the 'log' subcommand
#
complete -c hg -s b -l branches --description 'show branches'
complete -c hg -s k -l keyword --description 'search for a keyword'
complete -c hg -s l -l limit --description 'limit number of changes displayed'
complete -c hg -s r -l rev --description 'show the specified revision or range'
complete -c hg -s M -l no-merges --description 'do not show merges'
complete -c hg -s m -l only-merges --description 'show only merges'
complete -c hg -s p -l patch --description 'show patch'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -l style --description 'display using template map file'
complete -c hg -l template --description 'display with template'
complete -c hg -n 'contains log (commandline -poc)' -s b -l branches --description 'Show branches'
complete -c hg -n 'contains log (commandline -poc)' -s k -l keyword --description 'Search for a keyword'
complete -c hg -n 'contains log (commandline -poc)' -s l -l limit --description 'Limit number of changes displayed'
complete -c hg -n 'contains log (commandline -poc)' -s r -l rev --description 'Show the specified revision or range'
complete -c hg -n 'contains log (commandline -poc)' -s M -l no-merges --description 'Do not show merges'
complete -c hg -n 'contains log (commandline -poc)' -l style --description 'Display using template map file'
complete -c hg -n 'contains log (commandline -poc)' -s m -l only-merges --description 'Show only merges'
complete -c hg -n 'contains log (commandline -poc)' -s p -l patch --description 'Show patch'
complete -c hg -n 'contains log (commandline -poc)' -l template --description 'Display with template'
complete -c hg -n 'contains log (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains log (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
@ -287,33 +292,33 @@ complete -c hg -l template --description 'display with template'
# Completions for the 'merge' subcommand
#
complete -c hg -s b -l branch --description 'merge with head of a specific branch'
complete -c hg -s f -l force --description 'force a merge with outstanding changes'
complete -c hg -n 'contains merge (commandline -poc)' -s b -l branch --description 'Merge with head of a specific branch'
complete -c hg -n 'contains merge (commandline -poc)' -s f -l force --description 'Force a merge with outstanding changes'
#
# Completions for the 'outgoing' subcommand
#
complete -c hg -s M -l no-merges --description 'do not show merges'
complete -c hg -s f -l force --description 'run even when remote repository is unrelated'
complete -c hg -s p -l patch --description 'show patch'
complete -c hg -s r -l rev --description 'a specific revision you would like to push'
complete -c hg -s n -l newest-first --description 'show newest record first'
complete -c hg -s e -l ssh --description 'specify ssh command to use'
complete -c hg -l style --description 'display using template map file'
complete -c hg -l template --description 'display with template'
complete -c hg -l remotecmd --description 'specify hg command to run on the remote side'
complete -c hg -n 'contains outgoing (commandline -poc)' -s M -l no-merges --description 'Do not show merges'
complete -c hg -n 'contains outgoing (commandline -poc)' -s f -l force --description 'Run even when remote repository is unrelated'
complete -c hg -n 'contains outgoing (commandline -poc)' -s p -l patch --description 'Show patch'
complete -c hg -n 'contains outgoing (commandline -poc)' -l style --description 'Display using template map file'
complete -c hg -n 'contains outgoing (commandline -poc)' -s r -l rev --description 'A specific revision you would like to push'
complete -c hg -n 'contains outgoing (commandline -poc)' -s -l newest-first --description 'Show newest record first'
complete -c hg -n 'contains outgoing (commandline -poc)' -l template --description 'Display with template'
complete -c hg -n 'contains outgoing (commandline -poc)' -s -l ssh --description 'Specify ssh command to use'
complete -c hg -n 'contains outgoing (commandline -poc)' -l remotecmd --description 'Specify hg command to run on the remote side'
#
# Completions for the 'parents' subcommand
#
complete -c hg -s b -l branches --description 'show branches'
complete -c hg -s r -l rev --description 'show parents from the specified rev'
complete -c hg -l style --description 'display using template map file'
complete -c hg -l template --description 'display with template'
complete -c hg -n 'contains parents (commandline -poc)' -s b -l branches --description 'Show branches'
complete -c hg -n 'contains parents (commandline -poc)' -s r -l rev --description 'Show parents from the specified rev'
complete -c hg -n 'contains parents (commandline -poc)' -l style --description 'Display using template map file'
complete -c hg -n 'contains parents (commandline -poc)' -l template --description 'Display with template'
#
@ -326,21 +331,21 @@ complete -c hg -l template --description 'display with template'
# Completions for the 'pull' subcommand
#
complete -c hg -s u -l update --description 'update the working directory to tip after pull'
complete -c hg -s e -l ssh --description 'specify ssh command to use'
complete -c hg -s f -l force --description 'run even when remote repository is unrelated'
complete -c hg -s r -l rev --description 'a specific revision you would like to pull'
complete -c hg -l remotecmd --description 'specify hg command to run on the remote side'
complete -c hg -n 'contains pull (commandline -poc)' -s u -l update --description 'Update the working directory to tip after pull'
complete -c hg -n 'contains pull (commandline -poc)' -s -l ssh --description 'Specify ssh command to use'
complete -c hg -n 'contains pull (commandline -poc)' -s f -l force --description 'Run even when remote repository is unrelated'
complete -c hg -n 'contains pull (commandline -poc)' -s r -l rev --description 'A specific revision you would like to pull'
complete -c hg -n 'contains pull (commandline -poc)' -l remotecmd --description 'Specify hg command to run on the remote side'
#
# Completions for the 'push' subcommand
#
complete -c hg -s f -l force --description 'force push'
complete -c hg -s e -l ssh --description 'specify ssh command to use'
complete -c hg -s r -l rev --description 'a specific revision you would like to push'
complete -c hg -l remotecmd --description 'specify hg command to run on the remote side'
complete -c hg -n 'contains push (commandline -poc)' -s f -l force --description 'Force push'
complete -c hg -n 'contains push (commandline -poc)' -s -l ssh --description 'Specify ssh command to use'
complete -c hg -n 'contains push (commandline -poc)' -s r -l rev --description 'A specific revision you would like to push'
complete -c hg -n 'contains push (commandline -poc)' -l remotecmd --description 'Specify hg command to run on the remote side'
#
@ -353,32 +358,32 @@ complete -c hg -l remotecmd --description 'specify hg command to run on the remo
# Completions for the 'remove' subcommand
#
complete -c hg -s A -l after --description 'record remove that has already occurred'
complete -c hg -s f -l force --description 'remove file even if modified'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -n 'contains remove (commandline -poc)' -s A -l after --description 'Record remove that has already occurred'
complete -c hg -n 'contains remove (commandline -poc)' -s f -l force --description 'Remove file even if modified'
complete -c hg -n 'contains remove (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains remove (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
# Completions for the 'rename' subcommand
#
complete -c hg -s A -l after --description 'record a rename that has already occurred'
complete -c hg -s f -l force --description 'forcibly copy over an existing managed file'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -s n -l dry-run --description 'do not perform actions, just print output'
complete -c hg -n 'contains rename (commandline -poc)' -s A -l after --description 'Record a rename that has already occurred'
complete -c hg -n 'contains rename (commandline -poc)' -s f -l force --description 'Forcibly copy over an existing managed file'
complete -c hg -n 'contains rename (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains rename (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
complete -c hg -n 'contains rename (commandline -poc)' -s -l dry-run --description 'Do not perform actions, just print output'
#
# Completions for the 'revert' subcommand
#
complete -c hg -s r -l rev --description 'revision to revert to'
complete -c hg -s I -l include --description 'include names matching given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching given patterns'
complete -c hg -s n -l dry-run --description 'do not perform actions, just print output'
complete -c hg -l no-backup --description 'do not save backup copies of files'
complete -c hg -n 'contains revert (commandline -poc)' -s r -l rev --description 'Revision to revert to'
complete -c hg -n 'contains revert (commandline -poc)' -l no-backup --description 'Do not save backup copies of files'
complete -c hg -n 'contains revert (commandline -poc)' -s I -l include --description 'Include names matching given patterns'
complete -c hg -n 'contains revert (commandline -poc)' -s X -l exclude --description 'Exclude names matching given patterns'
complete -c hg -n 'contains revert (commandline -poc)' -s -l dry-run --description 'Do not perform actions, just print output'
#
@ -397,47 +402,47 @@ complete -c hg -l no-backup --description 'do not save backup copies of files'
# Completions for the 'serve' subcommand
#
complete -c hg -s A -l accesslog --description 'name of access log file to write to'
complete -c hg -s d -l daemon --description 'run server in background'
complete -c hg -s E -l errorlog --description 'name of error log file to write to'
complete -c hg -s p -l port --description 'port to use (default: 8000)'
complete -c hg -s a -l address --description 'address to use'
complete -c hg -s n -l name --description 'name to show in web pages (default: working dir)'
complete -c hg -s t -l templates --description 'web templates to use'
complete -c hg -s 6 -l ipv6 --description 'use IPv6 in addition to IPv4'
complete -c hg -l daemon-pipefds --description 'used internally by daemon mode'
complete -c hg -l webdir-conf --description 'name of the webdir config file (serve more than one repo)'
complete -c hg -l pid-file --description 'name of file to write process ID to'
complete -c hg -l stdio --description 'for remote clients'
complete -c hg -l style --description 'template style to use'
complete -c hg -n 'contains serve (commandline -poc)' -s A -l accesslog --description 'Name of access log file to write to'
complete -c hg -n 'contains serve (commandline -poc)' -s d -l daemon --description 'Run server in background'
complete -c hg -n 'contains serve (commandline -poc)' -l daemon-pipefds --description 'Used internally by daemon mode'
complete -c hg -n 'contains serve (commandline -poc)' -s -l errorlog --description 'Name of error log file to write to'
complete -c hg -n 'contains serve (commandline -poc)' -s p -l port --description 'Port to use (default: 8000)'
complete -c hg -n 'contains serve (commandline -poc)' -s a -l address --description 'Address to use'
complete -c hg -n 'contains serve (commandline -poc)' -s -l name --description 'Name to show in web pages (default: working dir)'
complete -c hg -n 'contains serve (commandline -poc)' -l webdir-conf --description 'Name of the webdir config file (serve more than one repo)'
complete -c hg -n 'contains serve (commandline -poc)' -l pid-file --description 'Name of file to write process ID to'
complete -c hg -n 'contains serve (commandline -poc)' -l stdio --description 'For remote clients'
complete -c hg -n 'contains serve (commandline -poc)' -s t -l templates --description 'Web templates to use'
complete -c hg -n 'contains serve (commandline -poc)' -l style --description 'Template style to use'
complete -c hg -n 'contains serve (commandline -poc)' -s 6 -l ipv6 --description 'Use IPv6 in addition to IPv4'
#
# Completions for the 'status' subcommand
#
complete -c hg -s m -l modified --description 'show only modified files'
complete -c hg -s a -l added --description 'show only added files'
complete -c hg -s r -l removed --description 'show only removed files'
complete -c hg -s d -l deleted --description 'show only deleted (but tracked) files'
complete -c hg -s u -l unknown --description 'show only unknown (not tracked) files'
complete -c hg -s i -l ignored --description 'show ignored files'
complete -c hg -s n -l no-status --description 'hide status prefix'
complete -c hg -s C -l copies --description 'show source of copied files'
complete -c hg -s 0 -l print0 --description 'end filenames with NUL, for use with xargs'
complete -c hg -s I -l include --description 'include names matching the given patterns'
complete -c hg -s X -l exclude --description 'exclude names matching the given patterns'
complete -c hg -n 'contains status (commandline -poc)' -s m -l modified --description 'Show only modified files'
complete -c hg -n 'contains status (commandline -poc)' -s a -l added --description 'Show only added files'
complete -c hg -n 'contains status (commandline -poc)' -s r -l removed --description 'Show only removed files'
complete -c hg -n 'contains status (commandline -poc)' -s d -l deleted --description 'Show only deleted (but tracked) files'
complete -c hg -n 'contains status (commandline -poc)' -s u -l unknown --description 'Show only unknown (not tracked) files'
complete -c hg -n 'contains status (commandline -poc)' -s i -l ignored --description 'Show ignored files'
complete -c hg -n 'contains status (commandline -poc)' -s -l no-status --description 'Hide status prefix'
complete -c hg -n 'contains status (commandline -poc)' -s C -l copies --description 'Show source of copied files'
complete -c hg -n 'contains status (commandline -poc)' -s 0 -l print0 --description 'End filenames with NUL, for use with xargs'
complete -c hg -n 'contains status (commandline -poc)' -s I -l include --description 'Include names matching the given patterns'
complete -c hg -n 'contains status (commandline -poc)' -s X -l exclude --description 'Exclude names matching the given patterns'
#
# Completions for the 'tag' subcommand
#
complete -c hg -s l -l local --description 'make the tag local'
complete -c hg -s m -l message --description 'message for tag commit log entry'
complete -c hg -s d -l date --description 'record datecode as commit date'
complete -c hg -s u -l user --description 'record user as commiter'
complete -c hg -s r -l rev --description 'revision to tag'
complete -c hg -n 'contains tag (commandline -poc)' -s l -l local --description 'Make the tag local'
complete -c hg -n 'contains tag (commandline -poc)' -s m -l message --description 'Message for tag commit log entry'
complete -c hg -n 'contains tag (commandline -poc)' -s d -l date --description 'Record datecode as commit date'
complete -c hg -n 'contains tag (commandline -poc)' -s u -l user --description 'Record user as commiter'
complete -c hg -n 'contains tag (commandline -poc)' -s r -l rev --description 'Revision to tag'
#
@ -450,27 +455,27 @@ complete -c hg -s r -l rev --description 'revision to tag'
# Completions for the 'tip' subcommand
#
complete -c hg -s b -l branches --description 'show branches'
complete -c hg -s p -l patch --description 'show patch'
complete -c hg -l style --description 'display using template map file'
complete -c hg -l template --description 'display with template'
complete -c hg -n 'contains tip (commandline -poc)' -s b -l branches --description 'Show branches'
complete -c hg -n 'contains tip (commandline -poc)' -l style --description 'Display using template map file'
complete -c hg -n 'contains tip (commandline -poc)' -s p -l patch --description 'Show patch'
complete -c hg -n 'contains tip (commandline -poc)' -l template --description 'Display with template'
#
# Completions for the 'unbundle' subcommand
#
complete -c hg -s u -l update --description 'update the working directory to tip after unbundle'
complete -c hg -n 'contains unbundle (commandline -poc)' -s u -l update --description 'Update the working directory to tip after unbundle'
#
# Completions for the 'update' subcommand
#
complete -c hg -s b -l branch --description 'checkout the head of a specific branch'
complete -c hg -s m -l merge --description 'allow merging of branches (DEPRECATED)'
complete -c hg -s C -l clean --description 'overwrite locally modified files'
complete -c hg -s f -l force --description 'force a merge with outstanding changes'
complete -c hg -n 'contains update (commandline -poc)' -s b -l branch --description 'Checkout the head of a specific branch'
complete -c hg -n 'contains update (commandline -poc)' -s m -l merge --description 'Allow merging of branches (DEPRECATED)'
complete -c hg -n 'contains update (commandline -poc)' -s C -l clean --description 'Overwrite locally modified files'
complete -c hg -n 'contains update (commandline -poc)' -s f -l force --description 'Force a merge with outstanding changes'
#
@ -483,3 +488,6 @@ complete -c hg -s f -l force --description 'force a merge with outstanding chang
# Completions for the 'version' subcommand
#