Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

Git migration history issue

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


jeroendedauw at gmail

Apr 17, 2012, 5:21 AM

Post #1 of 2 (76 views)
Permalink
Git migration history issue

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.
--
_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


innocentkiller at gmail

Apr 17, 2012, 5:26 AM

Post #2 of 2 (70 views)
Permalink
Re: Git migration history issue [In reply to]

On Tue, Apr 17, 2012 at 8:21 AM, Jeroen De Dauw <jeroendedauw [at] gmail> 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 mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.