8 May 19:58
Reconstructing git-svn metadata after a git clone
Ævar Arnfjörð Bjarmason <avarab <at> gmail.com>
2010-05-08 17:58:07 GMT
2010-05-08 17:58:07 GMT
I maintain a couple of git-svn exports [1][2] on GitHub. I'd like to instruct my users on how they should clone those projects and then commit back to Subversion. But in some cases I can't figure out how to reconstruct the Subversion metadata. 1. github.com/openstreetmap 2. github.com/mediawiki The git-svn documentation is lacking here. I'd like to send a patch for it, but first I have to know what to write. I can add Subversion metadata to some repositories, but not others. I can e.g. clone the WebKit repository (trac.webkit.org/wiki/UsingGitWithWebKit#Checkout): git clone git://git.webkit.org/WebKit.git WebKit cd WebKit git svn init -T trunk svn.webkit.org/repository/webkit git update-ref refs/remotes/trunk origin/master That works just fine and gives me: [...] r59025 = 542777d30c645a095d5416a74fdf60b2f3446685 r59026 = 9afc07910ceabcc065fcd4fcd1c68382955d0d7e r59027 = c7c8bfaf28e19eab90f68f53dc7523dd07ef794f Done rebuilding .git/svn/refs/remotes/trunk/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc However, when I do that with some other repositories I can't make it(Continue reading)
Permalink
| Reply
|