Re: Help debugging git-svn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On Fri, Dec 18, 2015 at 10:31 PM, Edmundo Carmona Antoranz
<eantoranz@xxxxxxxxx> wrote:
> On Fri, Dec 18, 2015 at 11:28 AM, Edmundo Carmona Antoranz
> <eantoranz@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]