Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
80bd1618
Commit
80bd1618
authored
Apr 21, 2014
by
Samuel E. Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved error message when pulling a spec repo raises
Closes
https://github.com/CocoaPods/CocoaPods/issues/1914
parent
cbf504ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
sources_manager.rb
lib/cocoapods/sources_manager.rb
+7
-2
No files found.
lib/cocoapods/sources_manager.rb
View file @
80bd1618
...
...
@@ -152,8 +152,13 @@ module Pod
sources
.
each
do
|
source
|
UI
.
section
"Updating spec repo `
#{
source
.
name
}
`"
do
Dir
.
chdir
(
source
.
data_provider
.
repo
)
do
output
=
git!
(
"pull --no-rebase --no-commit"
)
UI
.
puts
output
if
show_output
&&
!
config
.
verbose?
begin
output
=
git!
(
"pull --no-rebase --no-commit"
)
UI
.
puts
output
if
show_output
&&
!
config
.
verbose?
rescue
Informative
=>
e
raise
Informative
,
'An error occurred while performing '
\
"`git pull` on repo `
#{
source
.
name
}
`.
\n
"
+
e
.
message
end
end
check_version_information
(
source
.
data_provider
.
repo
)
end
...
...
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