From: nobu@... Date: 2014-12-23T17:12:45+00:00 Subject: [ruby-core:67072] [ruby-trunk - Bug #10636] [Closed] "make-snapshot tmp stable" broken Issue #10636 has been updated by Nobuyoshi Nakada. Status changed from Open to Closed % Done changed from 0 to 100 Applied in changeset r48946. ---------- make-snapshot: fix stable snapshot * tool/make-snapshot (package): VCS#branch_list expects glob a pattern string but not a regexp. based on the patch by Vit Ondruch. in [ruby-core:67064]. [Bug #10636] * tool/vcs.rb (VCS::SVN#branch_list): strip newlines. * tool/vcs.rb (VCS::GIT.get_revisions): retrieve modified time from toplevel log too. * tool/vcs.rb (VCS::GIT#branch_list): yield for each lines. ---------------------------------------- Bug #10636: "make-snapshot tmp stable" broken https://bugs.ruby-lang.org/issues/10636#change-50588 * Author: Vit Ondruch * Status: Closed * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: Checked out revision 48930. * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- It seems that r48840 breaks make-snapshot: ~~~ $ tool/make-snapshot tmp stable /builddir/ruby/tool/vcs.rb:165:in `fnmatch?': no implicit conversion of Regexp into String (TypeError) from /builddir/ruby/tool/vcs.rb:165:in `block (2 levels) in branch_list' from /builddir/ruby/tool/vcs.rb:163:in `each' from /builddir/ruby/tool/vcs.rb:163:in `block in branch_list' from /builddir/ruby/tool/vcs.rb:162:in `popen' from /builddir/ruby/tool/vcs.rb:162:in `branch_list' from tool/make-snapshot:142:in `package' from tool/make-snapshot:356:in `block in
' from tool/make-snapshot:356:in `collect' from tool/make-snapshot:356:in `
' ~~~ The attached patch fixes the issue for me, but I have not tested it with Git, so I hope it does not break anything else. ---Files-------------------------------- fix-make-snapshot.patch (873 Bytes) -- https://bugs.ruby-lang.org/