From: Sam Vilain <sam@vilain.net>
To: Andrew Myrick <amyrick@gmail.com>
Cc: git@vger.kernel.org, Eric Wong <normalperson@yhbt.net>
Subject: Re: Efficiency and correctness patches for git-svn mergeinfo support
Date: Mon, 21 Dec 2009 10:07:20 +1300 [thread overview]
Message-ID: <1261343240.20752.20.camel@denix> (raw)
In-Reply-To: <6b2f9b1d0912191415n560a5a58xbe6390b1fcade854@mail.gmail.com>
On Sat, 2009-12-19 at 14:15 -0800, Andrew Myrick wrote:
> I tried cloning from a fairly recent revision that I knew was after
> our switchover to svn 1.5, and I received a number of these errors:
>
> Couldn't find revmap for [branch]
> Exiting subroutine via next at /Users/adm/libexec/git-core/git-svn line 2983.
> Exiting subroutine via next at /Users/adm/libexec/git-core/git-svn line 2983.
> Exiting subroutine via next at /Users/adm/libexec/git-core/git-svn line 2983.
>
> I'm not sure if this is expected, since I didn't clone from the whole
> repo, but it did cause a lot of spew. I'm starting a fresh clone now,
> but it takes a few days to get through the whole repository. I'm
> fairly new to git, so I would welcome any tips on how I can test this
> more quickly.
Whoops, no, not expected, I'll post a minor correction. That means that
the branch which was merged in does not have git-svn metadata; ie, it's
not being tracked explicitly. If people are doing merging of things
which aren't roots of branches you would expect this. SVN, like
Perforce, supports a confusing amount of flexibility in its merge
tracking. If [branch] is a real branch, then you'll want to see why it
doesn't have metadata yet. Is it really a sub-tree of a real branch?
You could fetch it independently using a separate git-svn remote, or you
could ignore the warning; it should be relatively self-evident what
happened from the merge message and the contents of the changeset.
Note if your repository was significantly re-organized at any point, it
will pay to treat each section of history as a separate import project,
and stitch the results together afterwards using grafts and
filter-branch.
This version should be *significantly* faster than the old one. ie, it
should not take a minute per commit while importing the heavily
merged-into integration branch. Possibly a few seconds at most.
Sam
next prev parent reply other threads:[~2009-12-20 21:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-19 16:33 Efficiency and correctness patches for git-svn mergeinfo support Sam Vilain
2009-12-19 16:33 ` [PATCH 1/5] git-svn: expand the svn mergeinfo test suite, highlighting some failures Sam Vilain
2009-12-19 16:33 ` [PATCH 2/5] git-svn: memoize conversion of SVN merge ticket info to git commit ranges Sam Vilain
2009-12-19 16:33 ` [PATCH 3/5] git-svn: fix some mistakes with interpreting SVN mergeinfo " Sam Vilain
2009-12-19 16:33 ` [PATCH 4/5] git-svn: exclude already merged tips using one rev-list call Sam Vilain
2009-12-19 16:33 ` [PATCH 5/5] git-svn: detect cherry-picks correctly Sam Vilain
2009-12-19 16:37 ` [PATCH 2/5] git-svn: memoize conversion of SVN merge ticket info to git commit ranges Sam Vilain
2009-12-20 21:24 ` Sam Vilain
2009-12-21 10:44 ` Eric Wong
2009-12-19 16:42 ` Efficiency and correctness patches for git-svn mergeinfo support Sam Vilain
2009-12-19 22:15 ` Andrew Myrick
2009-12-20 21:07 ` Sam Vilain [this message]
2009-12-20 22:03 ` Andrew Myrick
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=1261343240.20752.20.camel@denix \
--to=sam@vilain.net \
--cc=amyrick@gmail.com \
--cc=git@vger.kernel.org \
--cc=normalperson@yhbt.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.