| 387 | |
| 388 | == Checking out Subversion branches == |
| 389 | |
| 390 | You 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 | |
| 400 | After 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 | |
| 402 | Once the fetch has finished, you can checkout branches normally with Git, e.g. {{{git checkout origin/webkitgtk-releases/webkit-2.16.6}}}. |