Re: Help debugging git-svn
- From
Edmundo Carmona Antoranz <eantoranz@gmail.com>
- Date
- Jan 9, 2016, 03:39 UTC
- Message-ID
- <CAOc6etZ5Ne+1SMsZ-7psJTihkHfm2ES1TWBRfjssfiOprQvp_Q@mail.gmail.com>
- In-Reply-To
- <CAOc6etanJZub-rwqT-45WpKsutVe_wkDHbPS_RorxXLGHOE9tA@mail.gmail.com>
Hi!
On Fri, Dec 18, 2015 at 10:31 PM, Edmundo Carmona Antoranz <eantoranz@gmail.com> wrote:
Show 22 quoted lines
> On Fri, Dec 18, 2015 at 11:28 AM, Edmundo Carmona Antoranz > <eantoranz@gmail.com> wrote: >> Ok.... I came up with another idea to avoid having to deal with the >> old svn history (I'm having no problems fetching/dcommitting with my >> current repo). I already have the branches I work with, the thing is >> that the revisions I fetched before I started using the svn authors >> file have nasty IDs instead of human names. I though that I could >> create a script to rewrite the whole history of the project adjusting >> the usernames to real names (I'll take care of the details, no problem >> there... just found out about filter-branch, could work for what I'm >> thinking of). My question would be in the direction of rebuilding >> git-svn metainfo once I'm done so that I can continue fetching from >> svn as if nothing had happened. I checked the documentation in >> git-scm.com but didn't find the details about it. Is there a >> straight-forward document that explains how the git-svn metadata files >> are built? >> >> Thanks in advance. > > .rev_map files appear to be simple enough. I'll have fun with them a > little bit. Will let you know how it goes later (don't hold your > breath.... it might take a while).
I was able to rewrite git-svn's history and I'm fetching/dcommitting as usual using the new branches. I posted the tool I developed for the task in github [1]. The readme explains how to use it.
Cheers!
[1] https://github.com/eantoranz/git_svn_rewrite