summaryrefslogtreecommitdiff
path: root/tool/lib/vcs.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2021-01-23 09:24:52 +0900
committerNobuyoshi Nakada <[email protected]>2021-01-23 10:07:49 +0900
commit6ef761a5153a03b059fbce6a58bea8d701328b46 ()
treec320c37f29368331cd33f0aa3d73a83270eaabdf /tool/lib/vcs.rb
parentccd7b7ab9ac7b2adb427c52f32766d4e0a474de5 (diff)
vcs.rb: continue just with warning if failed to fetch notes
Notes: Merged: https://.com/ruby/ruby/pull/4109
-rw-r--r--tool/lib/vcs.rb9
1 files changed, 5 insertions, 4 deletions
@@ -541,12 +541,13 @@ class VCS
warn "no starting commit found", uplevel: 1
from = nil
end
- unless svn or system(*%W"#{COMMAND} fetch origin refs/notes/commits:refs/notes/commits",
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",
chdir: @srcdir, exception: false)
to ||= url.to_str
if from
arg = ["#{from}^..#{to}"]