# HG changeset patch # User Thomas Arendsen Hein # Date 1124987735 -7200 # Node ID 772507daaa17aa11b7891ff02a1bdd1a19408f47 # Parent b35d5b86e2409f5b3c33798aca475b523cc1e81c Sort global options by topic: directories, ui, timing, other (and changed indentation to match command table) diff -r b35d5b86e240 -r 772507daaa17 mercurial/commands.py --- a/mercurial/commands.py Thu Aug 25 18:25:19 2005 +0200 +++ b/mercurial/commands.py Thu Aug 25 18:35:35 2005 +0200 @@ -1510,19 +1510,20 @@ 'hg update [-b TAG] [-m] [-C] [REV]'), "verify": (verify, [], 'hg verify'), "version": (show_version, [], 'hg version'), - } +} -globalopts = [('v', 'verbose', None, 'verbose mode'), - ('', 'debug', None, 'debug mode'), - ('q', 'quiet', None, 'quiet mode'), - ('', 'profile', None, 'profile'), - ('', 'cwd', '', 'change working directory'), - ('R', 'repository', "", 'repository root directory'), - ('', 'traceback', None, 'print traceback on exception'), - ('y', 'noninteractive', None, 'run non-interactively'), - ('', 'version', None, 'output version information and exit'), - ('', 'time', None, 'time how long the command takes'), - ] +globalopts = [ + ('R', 'repository', "", 'repository root directory'), + ('', 'cwd', '', 'change working directory'), + ('y', 'noninteractive', None, 'run non-interactively'), + ('q', 'quiet', None, 'quiet mode'), + ('v', 'verbose', None, 'verbose mode'), + ('', 'debug', None, 'debug mode'), + ('', 'traceback', None, 'print traceback on exception'), + ('', 'time', None, 'time how long the command takes'), + ('', 'profile', None, 'profile'), + ('', 'version', None, 'output version information and exit'), +] norepo = "clone init version help debugconfig debugdata" + \ " debugindex debugindexdot paths"