git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Foiani <tkil@scrye.com>
To: git@vger.kernel.org
Subject: extracting original git commits from "git svn" repository?
Date: Sun, 28 Aug 2011 02:13:21 -0600	[thread overview]
Message-ID: <gmxeuhs2m.fsf@dworkin.scrye.com> (raw)


About two years ago, I started an SVN repo for a private project.
After a few months, I started using "git svn" for day-to-day updating
(to take advantage of offline commits, etc).  git-svn has been
fantastic, but since it doesn't maintain AuthorDate (or, if it does, I
don't know how to ask it to do so), I'd like to migrate that SVN repo
to a git repo.

Is there any straightforward way to recover the "original" git commits
(spread out across two different workstations), so I can reinstate the
proper AuthorDate information?

Does this request even make sense?

I can have all the original data in one place, and I've got plenty of
CPU and RAM to throw at the problem:

  server.svn/...
  workstation1.git/...
  workstation2.git/...

I'm hoping that it can be done with sufficient trawling through the
reflog, but I thought I'd ask before trying to do the conversion
myself.

Thanks in advance,
Tony

                 reply	other threads:[~2011-08-28  8:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gmxeuhs2m.fsf@dworkin.scrye.com \
    --to=tkil@scrye.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).