Skip to content
Prev 8707 / 21312 Next

[Bioc-devel] Git svn mirror: Duplicated commit entries (introduced by git svn rebase?)

Hi Henrik,

I am not an expert in these matters but I'll take a stab at this (I have asked someone who might know but have not yet heard back).

See below.


----- Original Message -----
BTW you should probably change the repo comment on this repo as it refers to the defunct git-svn bridge.
I'm not sure why you did this forking. You could have just run update_remotes.sh in
https://github.com/HenrikBengtsson/aroma.light . But it doesn't do any harm, I guess, you just have to keep track of where you want your development to happen.
I think this is a result of the old git-svn bridge being kind of brain dead, which I can say because I wrote it. 

One thing you might want to try is...

- git checkout devel
- do your git svn rebase, make a note of the first and last commits that 
  are pulled down (let's call them FIRST and LAST)
- check out a temporary branch. (git checkout -b temp)
- git cherry-pick FIRST..LAST . You might need to resolve some conflicts here.
  This will basically 'replay' all those commits into a single new commit.
- git checkout master
- git merge temp
- if all looks ok, then push

Not sure if I've totally addressed your actual problem here, but HTH anyway....

Dan
Message-ID: <1283638202.2799690.1456257558178.JavaMail.zimbra@fredhutch.org>
In-Reply-To: <12529_1455916631_56C78657_12529_19277_1_CAFDcVCQUWxUsZTn4kmZRcyZrM-VrrSzux-rpzcdo=9X_fYHcug@mail.gmail.com>