| 58 | == Commit through git svn == |
| 59 | |
| 60 | If you have been granted commit access to WebKit's svn repository it is possible to work entirely with git and still commit through git svn. |
| 61 | |
| 62 | First, you'll need to make sure you have the appropriate remote in your git config: |
| 63 | |
| 64 | {{{ |
| 65 | [svn-remote "svn"] |
| 66 | url = http://svn.webkit.org/repository/webkit/trunk |
| 67 | fetch = :refs/remotes/git-svn |
| 68 | }}} |
| 69 | |
| 70 | Now, you need to update your repo to the latest from the svn repository. You can either: |
| 71 | |
| 72 | * Run 'git svn rebase' which will be incredibly slow... |
| 73 | * Use the {{{git update-ref}}} trick manually as mentioned above... |
| 74 | * Use the handy {{{update-gitsvn-from-origin}}} script found in the QtWebKit tools repository here: http://gitorious.org/qtwebkit/tools |
| 75 | |
| 76 | After you have a working remote and have fetched all the blobs of info from it you can: |
| 77 | 1. Create a 'tot_staging' branch or whatever name you choose |
| 78 | 2. Apply a patch, cherry-pick a commit, or even merge a branch if it has been reviewed |
| 79 | 3. Run {{{git svn rebase}}} and fix any ChangeLog conflicts that might result |
| 80 | 4. And then when everything is ready: {{{git svn dcommit}}} |