Mercurial > hg
comparison contrib/bash_completion @ 3992:d86ab4ba5ae6
Yield entries from [paths], too, when completing -R/--repository.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 26 Dec 2006 19:56:42 +0100 |
parents | f699d4eb25d9 |
children | 04d919cdf263 |
comparison
equal
deleted
inserted
replaced
3991:da3dc89f1e9a | 3992:d86ab4ba5ae6 |
---|---|
143 fi | 143 fi |
144 | 144 |
145 # global options | 145 # global options |
146 case "$prev" in | 146 case "$prev" in |
147 -R|--repository) | 147 -R|--repository) |
148 _hg_paths | |
148 _hg_repos | 149 _hg_repos |
149 return | 150 return |
150 ;; | 151 ;; |
151 --cwd) | 152 --cwd) |
152 # Stick with default bash completion | 153 # Stick with default bash completion |