[Webkit-unassigned] [Bug 34206] Improve update-webkit's Git code-path to support mirrors and resolve-ChangeLogs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 2 21:41:01 PST 2010


--- Comment #4 from Evan Martin <evan at chromium.org>  2010-02-02 21:40:59 PST ---
+    # Check the git config for a possible mirror remote we can use
+    my $remotes = `git config --get-regexp "^remote\..+\.url"`;
+    if ($remotes =~ /^remote\.(.*?)\.url .*?\/webkit\.git$/mi) {

If I'm reading this right, you're considering any url ending with webkit.git as
a webkit mirror?  I can see what you're trying to do, but seems a bit weak.

You might consider doing what we do in Chrome: make both "git fetch" as well as
"git svn rebase" update the same branch.  When you use the git fetch to advance
the remote branch, the next time you run a git svn command git recognizes that
you've fetched the commits via another mechanism and just fast-forwards its
index.  It's just a minor tweak to how you set up git-svn:

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list