Git development
 help / color / mirror / Atom feed
* Dealing with rewritten upstream
@ 2011-09-30 22:09 Jay Soffian
  2011-09-30 23:04 ` Michael Witten
  0 siblings, 1 reply; 4+ messages in thread
From: Jay Soffian @ 2011-09-30 22:09 UTC (permalink / raw)
  To: git

I have a repo w/over two years of history whose upstream repo is a
git-svn mirror.

The upstream folks recently announced they need to retire the existing
repo and replace it with a new repo. The new repo is identical to the
old repo tree wise (commit for commit), but some of the commits in the
old repo had incorrect authorship which is corrected in the new repo,
so the new repo has different commit IDs than the old.

(i.e., it's as if they've run filter-branch --env-filter on the old repo.)

My repo has many merge points with the old history.

Pictorially:

---A---B---C---D---E... new-upstream/master

---a---b---c---d---e... old-upstream/master
    \       \       \
     1---2---3---4---5  master

The obvious way do deal with this situation is:

$ git merge -s ours -m "Splice in new-upstream/master" E

Are there any other/better options I'm missing?

(Eventually upstream plans to migrate entirely to git, so I can't just
run git-svn myself.)

j.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-01 11:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-30 22:09 Dealing with rewritten upstream Jay Soffian
2011-09-30 23:04 ` Michael Witten
2011-09-30 23:28   ` Jay Soffian
2011-10-01 11:34     ` Philip Oakley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox