darcs

Issue 2316 darcs --commands does not list all commands

Title darcs --commands does not list all commands
Priority invalid Status given-up
Milestone Resolved in
Superseder Nosy List bfrk
Assigned To
Topics

Created on 2013-04-17.21:09:27 by bfrk, last changed 2017-07-31.01:32:54 by gh.

Messages
msg16767 (view) Author: bfrk Date: 2013-04-17.21:09:19
1. Summarise the issue (what were doing, what went wrong?)

> darcs --commands
help
changes
get
initialize
convert
--help
--version
--exact-version
--overview

2. What behaviour were you expecting instead?

darcs --commands should list all darcs commands

The --commands option is used by the standard zsh command line
completion which was contributed to zsh 2009 by Nicolas Pouillard.

3. What darcs version are you using? (Try: darcs --exact-version)

2.9.5 (+ 157 patches) and 2.8.0. Older versions probably too, this has
been broken for a long time, though I cannot remember exactly how long.

4. What operating system are you running?

Debian Gnu/Linux (probably irrelevant here).
msg16768 (view) Author: bfrk Date: 2013-04-18.00:08:09
My bad, I tested outside a repository, of course it lists only the
commands that apply in this case. Stupid me!
msg17985 (view) Author: bfrk Date: 2015-02-02.22:50:24
In the meantime I have stumbled over this again. The point is: sometime
you want to issue a darcs command, you are not inside the repo, but you
plan to pass the --repodir=/path/to/repo flag. In this case the
completion doesn't work which can be annoying.

I have no conclusive idea yet what to do about this.
History
Date User Action Args
2013-04-17 21:09:27bfrkcreate
2013-04-18 00:08:10bfrksetpriority: invalid
messages: + msg16768
2015-02-02 22:50:26bfrksetmessages: + msg17985
2017-07-31 01:32:54ghsetstatus: unknown -> given-up