From: Thomas Jarosch <thomas.jarosch@intra2net.com>
To: "Björn Steinbrink" <B.Steinbrink@gmx.de>
Cc: Michael J Gruber <git@drmicha.warpmail.net>, git@vger.kernel.org
Subject: Re: help needed: Splitting a git repository after subversion migration
Date: Mon, 8 Dec 2008 18:34:20 +0100 [thread overview]
Message-ID: <200812081834.26688.thomas.jarosch@intra2net.com> (raw)
In-Reply-To: <20081208142447.GA20186@atjola.homenet>
On Monday, 8. December 2008 15:24:47 you wrote:
> If it's about huge objects, and not just lots of small objects, you can
> use this:
Thanks, those two commands have been really helpful. I've found some objects
that shouldn't be there and now I have two more questions:
1. When I run "git rev-list --all --objects", I can see file names that look
like "SVN-branchname/directory/filename". Is it normal that "git svn"
creates a directory with the name of the branch and puts files below it?
"git rev-list --all --objects |grep 5-0-3-hotfix":
5fe3265b6941c2fa74c12da799ea23e2801efa8a 5-0-3-hotfix/source
...
The branch in question existed for a limited time in branches/xyz
on the SVN tree and was deleted later on. Guessing the version number
from the filename, it looks like a copy of the files when I started the branch
as it's an old version number before I committed changes to it.
(f.e. upgraded libpng). When I just grep for "libpng" on the whole index,
I see all the various updates I made over the years.
2. Something goes wrong after the filter branch:
Output from the full 11GB tree:
git rev-list --all --objects |grep 5-0-3-hotfix |grep xyz
-> No match
Output from the filtered tree:
git rev-list --all --objects |grep 5-0-3-hotfix |grep xyz
3a13f87bc116aee96e031441eaafc416652ba4bd 5-0-3-hotfix/update_pkg/xyz
ebebb84ccff26c949fb1f803c60034074e6603fe 5-0-3-hotfix/update_pkg/xyz
5529ef51de887cc905fe460e4c4f6cd34b93b5a6 5-0-3-hotfix/update_pkg/xyz
c264a9d5db30ebb131c96c4f93192bfe9a5c0a7b 5-0-3-hotfix/update_pkg/xyz
I have no idea how those objects suddenly appeared there.
It feels like something was stitched together wrongly.
When I converted the SVN tag to a git tag, I tagged the branches
with a "branch-" prefix. Might that be a problem, is "branch-" reserved?
Cheers,
Thomas
next prev parent reply other threads:[~2008-12-08 17:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-07 17:41 help needed: Splitting a git repository after subversion migration Thomas Jarosch
2008-12-08 13:30 ` Michael J Gruber
2008-12-08 14:24 ` Björn Steinbrink
2008-12-08 17:34 ` Thomas Jarosch [this message]
2008-12-10 16:33 ` Thomas Jarosch
2008-12-11 8:10 ` Björn Steinbrink
2008-12-12 14:22 ` Thomas Jarosch
2008-12-12 14:49 ` Björn Steinbrink
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=200812081834.26688.thomas.jarosch@intra2net.com \
--to=thomas.jarosch@intra2net.com \
--cc=B.Steinbrink@gmx.de \
--cc=git@drmicha.warpmail.net \
--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).