vcs.rb: continue just with warning if failed to fetch notes
This commit is contained in:
parent
ccd7b7ab9a
commit
6ef761a515
Notes:
git
2021-01-23 10:08:19 +09:00
@ -541,12 +541,13 @@ class VCS
|
|||||||
warn "no starting commit found", uplevel: 1
|
warn "no starting commit found", uplevel: 1
|
||||||
from = nil
|
from = nil
|
||||||
end
|
end
|
||||||
unless svn or system(*%W"#{COMMAND} fetch origin refs/notes/commits:refs/notes/commits",
|
if svn or system(*%W"#{COMMAND} fetch origin refs/notes/commits:refs/notes/commits",
|
||||||
chdir: @srcdir, exception: false)
|
chdir: @srcdir, exception: false)
|
||||||
abort "Could not fetch notes/commits tree"
|
|
||||||
end
|
|
||||||
system(*%W"#{COMMAND} fetch origin refs/notes/log-fix:refs/notes/log-fix",
|
system(*%W"#{COMMAND} fetch origin refs/notes/log-fix:refs/notes/log-fix",
|
||||||
chdir: @srcdir, exception: false)
|
chdir: @srcdir, exception: false)
|
||||||
|
else
|
||||||
|
warn "Could not fetch notes/commits tree", uplevel: 1
|
||||||
|
end
|
||||||
to ||= url.to_str
|
to ||= url.to_str
|
||||||
if from
|
if from
|
||||||
arg = ["#{from}^..#{to}"]
|
arg = ["#{from}^..#{to}"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user