ruby-changes:57632
From: Nobuyoshi <ko1@a...>
Date: Sat, 7 Sep 2019 12:05:14 +0900 (JST)
Subject: [ruby-changes:57632] 3fafc549ba (master): Fix error when checking file modified with git-svn
https://git.ruby-lang.org/ruby.git/commit/?id=3fafc549ba From 3fafc549ba909e986917f2b6b96eb14624c26329 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 7 Sep 2019 11:35:00 +0900 Subject: Fix error when checking file modified with git-svn diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index f124564..2a6a4b5 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -476,7 +476,8 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/lib/vcs.rb#L476 if changed == last last = rev else - last = svn_revision(cmd_read_at(srcdir, [[*gitcmd, 'log', '-n1', '--format=%B', last]])) + svn_rev = svn_revision(cmd_read_at(srcdir, [[*gitcmd, 'log', '-n1', '--format=%B', last]])) + last = svn_rev if svn_rev end changed = rev end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/