From: Knut Eldhuset <knut@3d-radar.com>
To: git@vger.kernel.org
Subject: Re: Different svn-id URLs in history
Date: Wed, 08 Oct 2008 08:34:23 +0200 [thread overview]
Message-ID: <48EC546F.7060106@3d-radar.com> (raw)
In-Reply-To: <48EB79D8.6090908@drmicha.warpmail.net>
Michael J Gruber wrote:
> Knut Eldhuset venit, vidit, dixit 07.10.2008 12:58:
>> Hi,
>>
>> After cloning my svn repository, I notice that the svn-id URL is
>> different when going back in history:
>>
>> git-svn-id: https://server/trunk@300
>>
>> vs
>>
>> git-svn-id: https://server/trunk/some_folder/project/src@250
>>
>
> I take this is as an invitation for guesswork (given the amount of
> details)...
Sorry about that... I'm confused.
>
> You probably have commits which don't follow your usual svn repo layout
> (trunk/some_folder/project/src) but commit to trunk/ directly. The output of
>
> svn log -v -r300 https://server/trunk@300
> svn log -v -r250 https://server/trunk/some_folder/project/src@250
>
> should give some clues.
>
Svn log shows that the same path has been modified in both cases. I see
something strange in git, though. Our svn repository has about 6500
commits, but git shows over 10.000. Further investigation shows that a
lot of svn commits have two entries in git. Some branches off of trunk
do not start at r1, but off of a duplicate rNNNN. Could this be due to
our unhealthy practice of creating branches off of subtrees in svn? By
this I mean create a branch off of
https://server/trunk/some_folder/project/src instead of
https://server/trunk. If so, what can be done to fix this?
As a sidenote, during git svn clone, I noticed that each time a new
branch or tag was discovered, the "scanning" started back at r1. Is this
normal? I would think the history before the branch was already
imported. Of course, this could maybe be due to the bad branching
practice described above.
Regards,
Knut
next prev parent reply other threads:[~2008-10-08 6:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 10:58 Different svn-id URLs in history Knut Eldhuset
2008-10-07 15:01 ` Michael J Gruber
2008-10-08 6:34 ` Knut Eldhuset [this message]
2008-10-08 8:32 ` Michael J Gruber
2008-10-08 9:20 ` Knut Eldhuset
2008-10-08 9:23 ` Knut Eldhuset
2008-10-09 14:20 ` Michael J Gruber
2008-10-10 8:56 ` Knut Eldhuset
2008-10-09 6:16 ` Knut Eldhuset
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=48EC546F.7060106@3d-radar.com \
--to=knut@3d-radar.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 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.