Reviewed and committed by Maciej.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Nov 2005 06:21:21 +0000 (06:21 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Nov 2005 06:21:21 +0000 (06:21 +0000)
- fixed cvs-create-patch --include produces incorrect paths
(http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)

        * Scripts/cvs-create-patch: produce proper paths for new files.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11309 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Scripts/cvs-create-patch

index 92f6780a279acb771b1b6972fc80cf24a53f90a5..ee7dcf6d808c9c6feb0bf6cc48e601b794586812 100644 (file)
@@ -1,3 +1,12 @@
+2005-11-27  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
+
+       Reviewed and committed by Maciej.
+
+       - fixed cvs-create-patch --include produces incorrect paths
+       (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
+
+        * Scripts/cvs-create-patch: produce proper paths for new files.
+
 2005-11-21  Eric Seidel  <eseidel@apple.com>
 
         Reviewed by hyatt.
index af119168998f0bac8f4216973e8fb30252865d57..d3cf6ab1af4b941f7456cc6e16e2b4cd203836ba 100755 (executable)
@@ -141,9 +141,9 @@ sub diff
             my $unknown = $1;
             if ($includeUnknowns && $unknown !~ /^\./) {
                 if (-d $unknown) {
-                    addNewDirectory($indexPath, $unknown);
+                    addNewDirectory($dir, $unknown);
                 } else {
-                    addNewFile($indexPath, $unknown);
+                    addNewFile($dir, $unknown);
                 }
             }
         } else {