Hey,
Two of my extensions, Maps and Semantic Maps, seem to have lost most of their history during git migration (my other extensions are fine as far as I can tell). I really would like them to have all the history and looked into how to fix this a bit. Doing a "git svn co" of the code in SVN gave me a git repo with all the history. So now my question is how I can either push this history to the WMF hosted repo somehow, or replace the current repo with the one I created myself. I'm not sure if the former is possible in a sane way, and suspect I need help from someone with more gerrit privileges for the later.
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. --
On Tue, Apr 17, 2012 at 8:21 AM, Jeroen De Dauw jeroendedauw@gmail.com wrote:
Hey,
Two of my extensions, Maps and Semantic Maps, seem to have lost most of their history during git migration (my other extensions are fine as far as I can tell). I really would like them to have all the history and looked into how to fix this a bit. Doing a "git svn co" of the code in SVN gave me a git repo with all the history. So now my question is how I can either push this history to the WMF hosted repo somehow, or replace the current repo with the one I created myself. I'm not sure if the former is possible in a sane way, and suspect I need help from someone with more gerrit privileges for the later.
If you add "gerrit" as a remote, the way to do this will be `git push -f gerrit master` to rewrite the history. This is dangerous, so it's disabled by default. We can link up on IRC this afternoon and I'll tweak permissions to let you push the new history and then disable that.
-Chad
wikitech-l@lists.wikimedia.org