Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
ca129bb5
Commit
ca129bb5
authored
Jan 10, 2014
by
Brice Dutheil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renames main plugin function to `svn_prompt_info`
parent
f66ab7f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
svn-fast-info.plugin.zsh
plugins/svn-fast-info/svn-fast-info.plugin.zsh
+3
-1
No files found.
plugins/svn-fast-info/svn-fast-info.plugin.zsh
View file @
ca129bb5
...
@@ -6,8 +6,10 @@
...
@@ -6,8 +6,10 @@
# Use `svn_prompt_info` method to enquire the svn data.
# Use `svn_prompt_info` method to enquire the svn data.
# It's faster because his efficient use of svn (single svn call) which saves a lot on a huge codebase
# It's faster because his efficient use of svn (single svn call) which saves a lot on a huge codebase
# It displays the current status of the local files (added, deleted, modified, replaced, or else...)
# It displays the current status of the local files (added, deleted, modified, replaced, or else...)
#
# Use as a drop-in replacement of the svn plugin not as complementary plugin
function
svn_
fas
t_info
()
{
function
svn_
promp
t_info
()
{
local
info
local
info
info
=
$(
svn info 2>&1
)
||
return
1
;
# capture stdout and stderr
info
=
$(
svn info 2>&1
)
||
return
1
;
# capture stdout and stderr
local
repo_need_upgrade
=
$(
svn_repo_need_upgrade
$info
)
local
repo_need_upgrade
=
$(
svn_repo_need_upgrade
$info
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment