Attached you'll find a patch which changes dump_overwrite behaviour so
that when it's false (i.e. it shouldn't overwrite files), instead
throwing an exception when an already existing file is found, it
merely warns and skips it.

This is rather useful when you're e.g. adding new tables to an
existing Catalyst application and want to use the Helper with
"create=static" for code generation.

The patch fixes one test case so that it complies with this new
behaviour (thus, Test::Warn was added as a build dependency). It also
changes two or three words on the docs reflecting the change.

-Nilson Santos F. Jr.

Attachment: improved-dump_overwrite.patch
Description: Binary data

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to