[前][次][番号順一覧][スレッド一覧]

ruby-changes:37337

From: nobu <ko1@a...>
Date: Tue, 27 Jan 2015 14:20:36 +0900 (JST)
Subject: [ruby-changes:37337] nobu:r49418 (trunk): vcs.rb: include svn property commits

nobu	2015-01-27 14:20:21 +0900 (Tue, 27 Jan 2015)

  New Revision: 49418

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49418

  Log:
    vcs.rb: include svn property commits
    
    * tool/vcs.rb (VCS::GIT.get_revisions): omit "." to include svn
      property only commits.

  Modified files:
    trunk/tool/vcs.rb
Index: tool/vcs.rb
===================================================================
--- tool/vcs.rb	(revision 49417)
+++ tool/vcs.rb	(revision 49418)
@@ -261,7 +261,9 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/vcs.rb#L261
       log = IO.pread(logcmd)
       last = log[idpat, 1]
       if path
-        log = IO.pread(logcmd + [path])
+        cmd = logcmd
+        cmd += [path] unless path == '.'
+        log = IO.pread(cmd)
         changed = log[idpat, 1]
       else
         changed = last

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]