Stephane Chazelas
0577dafcaa
Protect some :s from history modifier expansion
2023-06-06 09:22:18 +01:00
Daniel Shahaf
4ad99ab788
unposted (cf. users/28616): _svnadmin: Add comment noting a case that's not completed correctly.
2023-01-06 12:59:07 +00:00
Daniel Shahaf
04513dd5df
49715: _subversion: add: Complete target arguments to this subcommand
2022-01-29 10:08:45 +00:00
Daniel Shahaf
a956caa233
49714: _subversion: resolve: Complete conflicted files created by merges, too
2022-01-29 10:08:43 +00:00
Daniel Shahaf
a803a5f4c4
49713: _subversion: commit, diff, revert: Update completions for svn 1.7 and newer
...
* _svn_deletedfiles: Remove.
The last version of svn(1) under which that function could possibly
complete anything, svn 1.6.x, was EOLed in 2013. Newer versions
don't have a "text-base" directory, so $controlled is set to an
empty array, so this function returned false for all files, so
in 'svn rm' (up to the previous commit) all files were completed
(because that's what '_files -g "*(e:false:)"' does).
* _svn_status: Remove.
Versions of svn newer than the aforementioned 1.6.x have an
entries file but never modify it, so the "mtime has changed" check
would false negative. Therefore, sequences such as:
.
svn <TAB>
echo >> some/versioned/file
svn ci <TAB>
.
wouldn't offer some/versioned/file.
.
Furthermore, completion would offer directories with no changed
files in them, and even unversioned directories. Now only changed
files/directories are offered.
* _cache_svn_status, _cache_svn_mtime: Remove.
If these hadn't been removed, I would have moved their declarations
to file scope so _svn_status could be used from outside this file,
too.
The replacement function, _svn_modified, doesn't have cache support, but
does honour the 'verbose' style to inhibit recursion to subdirectories.
2022-01-29 10:08:42 +00:00
Daniel Shahaf
cb2b0e7c6c
49712: _subversion: svn rm: Complete all svn-controlled files, not only missing/deleted files
...
Note that currently, _svn_controlled matches all files.
2022-01-29 10:08:40 +00:00
Daniel Shahaf
6342512483
49711: _subversion: _svn_status: Don't offer unversioned files
...
This function is used only by revert, diff, and commit, none of which
can run on unversioned files (those with status '?').
2022-01-29 10:08:39 +00:00
Yasuhiro KIMURA
911500d3be
45934: _subversion: Make 'svnliteadmin' completed same as 'svnadmin'
...
In FreeBSD base system svnadmin is installed as 'svnliteadmin'. So
make 'svnliteadmin' completed same as 'svnadmin'.
2020-05-28 21:53:21 +00:00
Daniel Shahaf
06dddd0b98
Revert "44904: _subversion: Complete multiple comma-separated arguments to --show-item=<TAB>."
...
This reverts commit b06117ad21
.
Reverted upstream in r1870750.
2019-12-03 12:27:13 +00:00
Daniel Shahaf
dae3e135d8
44948: _subversion: Make _svn_controlled offer everything rather than nothing.
2019-11-29 20:34:34 +00:00
Daniel Shahaf
a4f5c345c8
44947: _subversion: Complete the 'auth', 'changelist', 'patch', 'resolve', and 'x-unshelve' subcommands.
2019-11-29 20:34:32 +00:00
Daniel Shahaf
a6b6b650fb
44946: _subversion: Make _svn_conflicts not offer all files in the directory.
2019-11-29 20:34:30 +00:00
Daniel Shahaf
b06117ad21
44904: _subversion: Complete multiple comma-separated arguments to --show-item=<TAB>.
...
Upstream revision: r1869578 (for 1.14.0)
2019-11-09 12:39:48 +00:00
Daniel Shahaf
ed26bf92d6
44897: _subversion: Complete --show-item=changelist
2019-11-07 12:04:27 +00:00
Daniel Shahaf
1156b2aa44
44812: _subversion: Fix syntax error in 44726/0001
2019-10-14 01:24:51 +00:00
Daniel Shahaf
2829e32e3c
44726/0002: _subversion: Update --show-item= completion to 1.12.0.
2019-09-04 02:56:54 +00:00
Daniel Shahaf
770dca2c53
44726/0001: _subversion: Use 'svn help -v' to show global options, experimental options, and experimental subcommands (upstream issue SVN-4828, to be released in Subversion 1.13.0)
2019-09-04 02:56:54 +00:00
Daniel Shahaf
decc78c721
_svn: Allow hyphens in command name aliases.
...
Used by svn 1.11.0-rc1.
2018-09-14 14:25:07 +00:00
Daniel Shahaf
24bb465566
unposted: _svn: Complete --accept=recommended, new in 1.10.0.
2018-09-12 16:23:43 +00:00
Oliver Kiddle
afd008d96b
43073: various completion option updates
2018-06-21 13:28:24 +02:00
Daniel Shahaf
5677339062
unposted: _subversion: Support subcommands with hyphens in their names, such as 'shelf-list (shelves)' from upstream 1.10 development versions.
2018-02-08 15:12:59 +00:00
Oliver Kiddle
ffacc95766
42343: complete --config-option to svn more than once
2018-02-07 20:47:30 +01:00
Jun-ichi Takimoto
d303dfa7f5
42175 + 42177 + 42178: avoid localized output from external commands
...
_call_program and '_arguments --' will call _comp_locale before
calling external command for easier analysis of the output.
This is disabled by passing an option '-l'.
2017-12-28 11:35:34 +09:00
Daniel Shahaf
a6f2755448
41471 (tweaked): _svn: Complete propvals in 'propset'.
2017-07-28 15:46:00 +00:00
Daniel Shahaf
4015f3cf5d
41458: _subversion: Don't cache an empty commands list when svn is not available at the first invocation of _svn.
2017-07-28 15:42:42 +00:00
Daniel Shahaf
e3bc63f00e
unposted: _svn: Fix '--show-revs' completion.
2017-02-08 11:55:03 +00:00
Daniel Shahaf
d8786da0cd
39853: _subversion: Accept long options in the '--foo=bar' syntax.
2016-11-09 04:06:23 +00:00
Daniel Shahaf
625fe0fce8
38966: _svnadmin: Complete positional arguments for 'hotcopy', 'setlog', 'setrevprop', 'delrevprop'.
2016-07-31 16:21:31 +00:00
Daniel Shahaf
eaaac9c89f
38965: _svnadmin: Complete 'freeze' as a precommand.
2016-07-31 16:21:29 +00:00
Daniel Shahaf
0389fc3a7f
unposted: _svnadmin: Tweak state description.
2016-07-29 17:01:22 +00:00
Daniel Shahaf
d2e920d5d0
36306: _subversion: Complete --show-item values
2015-08-28 23:36:25 +00:00
Daniel Shahaf
d6ca3bc4b9
unposted: _subversion: Avoid SHORT_LOOPS
2015-08-27 23:15:03 +00:00
Daniel Shahaf
0c5f6e911b
36208: _subversion: Complete a few more option switches
...
The while (( idx )) form should guarantee that these switches are only
added if the 'svn' binary supports them. (One of these switches isn't
present in svn 1.8 or earlier.)
2015-08-19 01:56:53 +00:00
Daniel Shahaf
422dae7b1c
unposted: _subversion: Complete property names for propdel
...
Previously, filenames would be completed.
2015-08-13 23:47:59 +00:00
Daniel Shahaf
949d186d6c
35066: Minor completion fix for pasted arguments
2015-05-09 15:13:43 +00:00
Peter Stephenson
8ab3a7b0e6
31356: typo in new _comp_locale noted by Bart
2013-04-29 15:07:30 +01:00
Peter Stephenson
8cdb57b3b7
31355: _comp_locale tries to sanitise locales but keep CTYPE;
...
use this for subversion completion.
2013-04-29 10:08:07 +01:00
Oliver Kiddle
32eb4faf7c
30197: complete subversion changelists
2012-02-10 16:00:59 +00:00
Peter Stephenson
0082320b79
Simon Olofsson: fix matching of subversion help text
2011-12-16 09:18:34 +00:00
Peter Stephenson
8020750b3c
gi1242+zsh: 28991: fix _svn caching policy
2011-04-13 08:13:04 +00:00
Peter Stephenson
e72999c092
gi1242+zsh@gmail.com: 28594:
...
Various new and improved completions
2011-01-09 16:57:01 +00:00
Peter Stephenson
5355700992
Greg: 27529: ULR schemas in subversion completion
2009-12-17 09:47:58 +00:00
Peter Stephenson
be1e9c189d
Greg: 27416: repository path enhancement
2009-11-19 09:48:42 +00:00
Peter Stephenson
76e087f4b2
Greg Klanderman: 27409: subversion and URL paths
2009-11-15 17:52:02 +00:00
Peter Stephenson
7769912b3f
Akinori MUSHA: private communication: fix typo in _subversion
2009-06-02 08:46:56 +00:00
Peter Stephenson
8edf8a0658
26970: Greg Klanderman: _subversion: fix caching.
2009-05-22 15:48:32 +00:00
Peter Stephenson
a4106e0523
Greg Klanderman: 26964 (modified): PROMPT_EOL_MARK
2009-05-17 18:23:09 +00:00
Peter Stephenson
f6bcc6e1cd
Christopher Key: fix for subversion help output
2008-01-31 16:16:35 +00:00
Clint Adams
ad2d19e2e6
23302: complete properties after svn propget and propedit.
2007-04-19 20:37:00 +00:00
Clint Adams
8f4c1bd007
23214: complete files after svn commit --file.
2007-03-13 18:19:28 +00:00