Show More
@@ -81,10 +81,14 b' add blame praise annotate ann cat checkout co cleanup commit ci copy' | |||||
81 | cp delete del remove rm diff di export help ? h import info list ls |
|
81 | cp delete del remove rm diff di export help ? h import info list ls | |
82 | lock log merge mkdir move mv rename ren propdel pdel pd propedit pedit |
|
82 | lock log merge mkdir move mv rename ren propdel pdel pd propedit pedit | |
83 | pe propget pget pg proplist plist pl propset pset ps resolved revert |
|
83 | pe propget pget pg proplist plist pl propset pset ps resolved revert | |
84 | status stat st switch sw unlock |
|
84 | status stat st switch sw unlock update | |
85 | """ |
|
85 | """ | |
86 |
|
86 | |||
87 | def svn_completer(self,even): |
|
87 | def svn_completer(self,event): | |
|
88 | if len((event.line + 'placeholder').split()) > 2: | |||
|
89 | # the rest are probably file names | |||
|
90 | return ip.IP.Completer.file_matches(event.symbol) | |||
|
91 | ||||
88 | return svn_commands.split() |
|
92 | return svn_commands.split() | |
89 |
|
93 | |||
90 | ip.set_hook('complete_command', svn_completer, str_key = 'svn') No newline at end of file |
|
94 | ip.set_hook('complete_command', svn_completer, str_key = 'svn') |
General Comments 0
You need to be logged in to leave comments.
Login now