Bug 108684

Summary: git.svn_revision doesn't fetch the same revision as svn.svn_revision
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Tools / TestsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Critical CC: abarth, dpranke, eric, mithro, ojan, webkit.review.bot
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fixes the bug none

Ryosuke Niwa
Reported 2013-02-01 13:38:10 PST
We compute the revision against LayoutTests for layout and performance tests but git.svn_revision fetches the latest svn revision in LayoutTests, unlike svn.svn_revision that retrieves the latest svn revision in the entire repository.
Attachments
Fixes the bug (1.33 KB, patch)
2013-02-07 01:34 PST, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2013-02-01 13:38:46 PST
Unfortunately, I don't know git svn well enough to fix this bug.
Ryosuke Niwa
Comment 2 2013-02-01 13:42:11 PST
Maybe we need to ignore the path in git.svn_revision since you can't really have a partial git checkout like we can with svn.
Ryosuke Niwa
Comment 3 2013-02-01 14:32:56 PST
andersca suggests we can walk up the directories and look for .git but I wonder if there's a more efficient way of finding the root of a git module?
Eric Seidel (no email)
Comment 4 2013-02-01 21:22:31 PST
I'm sure mithro can help us here once SYD is awake on monday (which is sunday for us).
Ryosuke Niwa
Comment 5 2013-02-07 01:34:00 PST
Created attachment 187023 [details] Fixes the bug
Build Bot
Comment 6 2013-02-07 06:04:29 PST
Comment on attachment 187023 [details] Fixes the bug Attachment 187023 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/16435129
Ryosuke Niwa
Comment 7 2013-02-07 13:38:53 PST
(In reply to comment #6) > (From update of attachment 187023 [details]) > Attachment 187023 [details] did not pass win-ews (win): > Output: http://queues.webkit.org/results/16435129 I've notified rfong about the mysterious wtf/Platform.h not found error.
WebKit Review Bot
Comment 8 2013-02-07 14:05:39 PST
Comment on attachment 187023 [details] Fixes the bug Clearing flags on attachment: 187023 Committed r142178: <http://trac.webkit.org/changeset/142178>
WebKit Review Bot
Comment 9 2013-02-07 14:05:44 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.