Changeset 45998 in webkit
- Timestamp:
- Jul 16, 2009 4:38:02 PM (15 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r45994 r45998 1 2009-07-16 Peter Kasting <pkasting@google.com> 2 3 Reviewed by David Kilzer. 4 5 https://bugs.webkit.org/show_bug.cgi?id=27323 6 Improve support for WebKit checkouts hosted inside other checkouts 7 (possible for some ports, e.g. Chromium). 8 9 * Scripts/svn-create-patch: Determine SVN root by looking for Repository 10 Root string and aborting when it's missing or different than what 11 we've already seen. 12 1 13 2009-07-16 Peter Kasting <pkasting@google.com> 2 14 -
trunk/WebKitTools/Scripts/svn-create-patch
r45993 r45998 471 471 my $last = ''; 472 472 my $path = '.'; 473 my $parent = '.. /';473 my $parent = '..'; 474 474 my $devnull = File::Spec->devnull(); 475 my $ exitCode;475 my $repositoryRoot; 476 476 while (1) { 477 $exitCode = system("svn info $path 2> $devnull > $devnull")/256; 478 last if $exitCode; 477 my $thisRoot; 478 open INFO, "svn info '$path' |" or die; 479 while (<INFO>) { 480 if (/^Repository Root: (.+)/) { 481 $thisRoot = $1; 482 } 483 } 484 close INFO; 485 486 # It's possible (e.g. for developers of some ports) to have a WebKit 487 # checkout in a subdirectory of another checkout. So abort if the 488 # repository root suddenly changes. 489 last if !$thisRoot; 490 if (!$repositoryRoot) { 491 $repositoryRoot = $thisRoot; 492 } 493 last if $thisRoot ne $repositoryRoot; 494 479 495 $last = $path; 480 $path = $parent . $path;496 $path = File::Spec->catdir($parent, $path); 481 497 } 482 498
Note: See TracChangeset
for help on using the changeset viewer.