* Scripts/cvs-unapply: Ditto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9372
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-06-12 Darin Adler <darin@apple.com>
+
+ * Scripts/cvs-apply: Handle case of an empty patch better.
+ * Scripts/cvs-unapply: Ditto.
+
2005-06-12 Darin Adler <darin@apple.com>
Changes by Michael Gaiman.
sub patch
{
my ($patch) = @_;
+ return if !$patch;
if ($patch !~ /\ndiff -N/) {
# Standard patch, patch tool can handle this.
open PATCH, "| patch -p0" or die;
sub patch
{
my ($patch) = @_;
+ return if !$patch;
if ($patch !~ /\ndiff -N/) {
# Standard patch, patch tool can handle this.
open PATCH, "| patch -p0 -R" or die;