[Webkit-unassigned] [Bug 36193] git.webkit.org repository is missing svn revision r49890

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 18 12:55:39 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36193





--- Comment #19 from David Kilzer (ddkilzer) <ddkilzer at webkit.org>  2010-03-18 12:55:38 PST ---
Hopefully no one else did this, but I actually reset my svn history in my git
repository so that it would match git.webkit.org.  (I did this by editing a ref
file, deleting the git-svn rev map, then doing a git-svn-fetch to repopulate
the rev map.)  In case you did that, too, here's how to undo it.

NOTE:  It may be quicker just to re-clone the git.webkit.org repository and
follow the instructions here: 
<http://trac.webkit.org/wiki/UsingGitWithWebKit#Checkout>

1. Look at your .git/config file to determine where the tracking information is
stored for the svn repository:

[svn-remote "svn"]
    url = http://svn.webkit.org/repository/webkit
    fetch = trunk:refs/remotes/trunk

2. Remove the svn tracking directory (git will rebuild this on the next svn
fetch).  Mine is "trunk" because that's what it's called in the svn-remote
section above:

$ rm -rf .git/svn/trunk

3. If .git/refs/remotes/trunk exists, edit it and change its head commit back
to r49889 (81e1876cbf3bc239eca66e1a48367b9b277d66e1).

If .git/info/refs exist, edit it there instead.

OPTIONAL: Instead of using the commitish for r49889, you could use the latest
commitish on master.

4. Run "git svn fetch" to recreate the rev map and update back to trunk again.

NOTE: I edited other entries in .git/info/refs, created .git/refs/remotes/trunk
(pasted the commitish at the head of master), and edited
.git/refs/remotes/origin/HEAD and .git/refs/remotes/origin/master to contain
master's latest commitish.  Not sure if all of that was necessary, but it
didn't hurt.

-- 
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