git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Kevin Ballard <kevin@sb.org>
To: Eric Wong <normalperson@yhbt.net>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git-svn pulling down duplicate revisions
Date: Sun, 1 Jun 2008 22:06:49 -0700	[thread overview]
Message-ID: <5FB2F28F-4C9A-422E-BF7D-B271471154F9@sb.org> (raw)
In-Reply-To: <20080602050050.GC9904@hand.yhbt.net>

On Jun 1, 2008, at 10:00 PM, Eric Wong wrote:

> Kevin Ballard <kevin@sb.org> wrote:
>> I started a git-svn clone on a large svn repository, and I noticed
>> that for various branches, it kept pulling down the exact same
>> revisions (starting at r1). In other words, if I had 4 branches that
>> shared common history, their common history all got pulled down 4
>> times. I double-checked, and the created commit objects were  
>> identical.
>>
>> Why was git-svn pulling down the same revisions over and over, when  
>> it
>> already knows it has a commit object for those revisions?
>
> Can you give me an example if a repository and command-line you used
> that does this?   Did you use 'git svn clone -s' or did you manually
> specify the branch locations in the repo?
>
> It could even be a lack of read permissions to the repository root
> that would cause things like this.

The repository is, unfortunately, a private repo so I can't share it.  
I used `git svn clone -s` to clone it. I have the SVN perl bindings  
v1.4.4 (according to git svn --version).

I definitely have read permissions to the repo root. If I specify to  
only fetch -r 12000:HEAD (there's 14000-odd revisions), it doesn't  
pull down any duplicates, but when I let it start from the root, it  
pulls down hundreds of duplicates for multiple branches.

-Kevin Ballard

-- 
Kevin Ballard
http://kevin.sb.org
kevin@sb.org
http://www.tildesoft.com

  reply	other threads:[~2008-06-02  5:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20  0:26 git-svn pulling down duplicate revisions Kevin Ballard
2008-06-02  5:00 ` Eric Wong
2008-06-02  5:06   ` Kevin Ballard [this message]
2008-06-02  5:40     ` Eric Wong
2008-06-02  5:55       ` Kevin Ballard
2008-06-02 10:42         ` Eric Wong
2008-06-02 17:45           ` Kevin Ballard
2008-06-02 17:59             ` 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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=5FB2F28F-4C9A-422E-BF7D-B271471154F9@sb.org \
    --to=kevin@sb.org \
    --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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).