Changes between Version 92 and Version 93 of UsingGitWithWebKit


Ignore:
Timestamp:
Jul 29, 2017 4:40:56 AM (6 years ago)
Author:
Adrian Perez de Castro
Comment:

Add note about how to fetch branches using git-svn

Legend:

Unmodified
Added
Removed
Modified
  • UsingGitWithWebKit

    v92 v93  
    385385
    386386See also [https://bugs.webkit.org/show_bug.cgi?id=89155 WK-89155](failure example) and [http://trac.webkit.org/changeset/120567 r120567] (successful example)
     387
     388== Checking out Subversion branches ==
     389
     390You can edit {{{.git/config}}} to add a {{{branches}}} setting for the Subversion remote. For example, the following will make all the WebKitGTK+ release branches available as {{{origin/webkitgtk-releases/*}}}:
     391
     392{{{
     393[svn-remote "svn"]
     394        url = http://svn.webkit.org/repository/webkit
     395        fetch = trunk:refs/remotes/origin/master
     396        branches = releases/WebKitGTK/*:refs/remotes/origin/webkitgtk-releases/*
     397
     398}}}
     399
     400After editing the file, run {{{git svn fetch}}}. It may take a long time for it to complete depending on how many branches are locally missing for the updated configuration. The example above which fetches all the WebKitGTK+ release branches can take up to 10 hours to complete, so you may want to [https://stackoverflow.com/a/10173516 limit the amount of branches fetched].
     401
     402Once the fetch has finished, you can checkout branches normally with Git, e.g. {{{git checkout origin/webkitgtk-releases/webkit-2.16.6}}}.