Rebasing a complete revision graph

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

 



Hi,

I'm wondering if there is a way of rebasing a wohle revision graph
with multiple branches and merges, but I didn't find anything in the
documentation or on the mailing list.

My use case is as follows: I imported an svn repository to git using
git-svn, but threw away all svn metadata because I just wanted a
one-shot import.  Now I changed my mind and I would like to use "git
svn dcommit" to push the master branch commits to that old svn
repository stil lying around.  There were no changes to that
repository meanwhile, and I'm the only one committing to the git
repository.

So my idea is to reimport the svn repository with git-svn, this time
preserving metadata, and rebasing all the branches in my old git
repository on that new import.  (I don't care about all the commits
being rewritten.)  Doing this manually is a big mess, because you have
to do it for every branch and you have to decide each time onto which
commit the branch should be rebased.  If the graph is more complex, it
seems completely impossible to me to do this using git-rebase.
Moreover, all tags must be moved manually to the new repository.

Is there some automated way to to this?

(I'm not on the list, please reply directly to me.)

Greetings and thanks,
    Sven
--
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]

  Powered by Linux