[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] improved bash completion v4

From: Fabien COELHO <fabien_at_coelho.net>
Date: 2005-11-19 09:44:17 CET

Dear developers,

please find attached yet another patch to improve the bash completion.
It addresses most comments done on the 3 previous submissions. I'm pretty
happy with the result. I think it is a significant improvement over the
current version, and it looks good enough for me.

[[[
Improve bash auto-completion for the 'svn' command:
  - there is a "real" parser to check for what is available
    and deduce what can be suggested further.
  - although it is not a good practice, mixed options and arguments
    is supported by the completion as it is by the svn command.
  - the completion works in the middle of a line.
  - property names are completed: see comments about issues related to handling
    ":" within property names although it is a word completion separator...
  - user-defined file and revision properties can be added
    with environment variables SVN_FILE_PROPS and SVN_REV_PROPS.
  - unknown properties are assumed to be simple file properties.
  - --revprop and --revision options are forced to revision properties
    as they are mandatory in this case.
  - argument values are suggested to some other options, eg directory names
    for --config-dir.
  - values suggested to some options can be extended with environment variables,
    so as to keep the default completion list short.

* tools/client-side/bash_completion
   add shell-intelligence to _svn completion function
]]]

-- 
Fabien.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat Nov 19 09:45:39 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.