git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: gerhard.oettl.ml@ogersoft.at
Cc: git@vger.kernel.org
Subject: Re: [user] git-svn and svn cp
Date: Mon, 19 Nov 2007 08:26:12 -0800	[thread overview]
Message-ID: <20071119162612.GA10122@soma> (raw)
In-Reply-To: <47416F68.9070908@ogersoft.at>

gerhard.oettl.ml@ogersoft.at wrote:
> I hope this is the correct mailing list. If not please point me in the 
> right direction.
> 
> 
> I played a little with git (1.5.3.4 / debian) and had the following 
> observation:
> Doing a "svn cp" (for example for a tag) results in a large traffic when 
> doing a "git-svn fetch" afterwards.
> 
> To verify I did:
> git-svn clone -s svn://www.ogersoft.at/ogerlit
> git-svn fetch
> svn cp svn://... svn://... (one file ca 3mb)
> svk checkout (a tcpflow output of about 3k - plaintext commands, I think 
> a svn checkout would be the same)
> git-svn fetch (a tcpflow output of 700k - containing a textdelta of 
> nearly 700k)
> 
> 
> So the question remains:
> Does svn-git dont know about lightweight svn copies?
> or can svn-git not handle them correct by now?
> or did I something wrong?

Older versions of the Perl SVN bindings have a broken do_switch()
function, so I fall back to the do_update() function which re-downloads
the whole tree instead..

SVN 1.4.4+ has this fix which allows do_switch() to be used instead of
do_update().

do_switch() will only download the delta between two trees if the parent
is present.

If you don't have easy access to 1.4.4+ packages, I have patched 1.4.3
(x86) packages here for Debian Etch (I haven't built 1.4.4 or 1.4.5 yet):

http://git-svn.yhbt.net/svn/

-- 
Eric Wong

  parent reply	other threads:[~2007-11-19 16:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-19 11:11 [user] git-svn and svn cp gerhard.oettl.ml
2007-11-19 12:29 ` Matthieu Moy
2007-11-19 12:50   ` David Kastrup
2007-11-19 12:56     ` Matthieu Moy
2007-11-19 13:20       ` Benoit Sigoure
2007-11-19 13:34         ` gerhard.oettl.ml
2007-11-19 13:37           ` David Kastrup
2007-11-19 13:49         ` Matthieu Moy
2007-11-19 14:04           ` Benoit Sigoure
2007-11-19 16:26 ` Eric Wong [this message]
2007-11-20 13:06   ` gerhard.oettl.ml

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=20071119162612.GA10122@soma \
    --to=normalperson@yhbt.net \
    --cc=gerhard.oettl.ml@ogersoft.at \
    --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).