Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
79e620c3
Commit
79e620c3
authored
Nov 27, 2012
by
Drarok Ithaqua
Browse files
Whitespace cleanup.
parent
d750e7d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/svn/svn.plugin.zsh
View file @
79e620c3
...
@@ -15,7 +15,7 @@ function in_svn() {
...
@@ -15,7 +15,7 @@ function in_svn() {
function
svn_get_repo_name
{
function
svn_get_repo_name
{
if
[
$(
in_svn
)
]
;
then
if
[
$(
in_svn
)
]
;
then
svn info |
sed
-n
's/Repository\ Root:\ .*\///p'
|
read
SVN_ROOT
svn info |
sed
-n
's/Repository\ Root:\ .*\///p'
|
read
SVN_ROOT
svn info |
sed
-n
"s/URL:
\
.*
$SVN_ROOT
\/
//p"
svn info |
sed
-n
"s/URL:
\
.*
$SVN_ROOT
\/
//p"
fi
fi
}
}
...
@@ -31,7 +31,7 @@ function svn_dirty_choose {
...
@@ -31,7 +31,7 @@ function svn_dirty_choose {
svn status 2> /dev/null |
grep
-Eq
'^\s*[ACDIM!?L]'
svn status 2> /dev/null |
grep
-Eq
'^\s*[ACDIM!?L]'
if
[
$pipestatus
[
-1
]
-ne
0
]
;
then
if
[
$pipestatus
[
-1
]
-ne
0
]
;
then
echo
$1
echo
$1
else
else
echo
$2
echo
$2
fi
fi
fi
fi
...
...
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