ruby-core

Mailing list archive

[ruby-core:67064] [ruby-trunk - Bug #10636] [Open] "make-snapshot tmp stable" broken

From: v.ondruch@...
Date: 2014-12-23 12:36:10 UTC
List: ruby-core #67064
Issue #10636 has been reported by Vit Ondruch.

----------------------------------------
Bug #10636: "make-snapshot tmp stable" broken
https://bugs.ruby-lang.org/issues/10636

* Author: Vit Ondruch
* Status: Open
* 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 <main>'
	from tool/make-snapshot:356:in `collect'
	from tool/make-snapshot:356:in `<main>'
~~~

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/

In This Thread

Prev Next