* Start git svn clone at specific revision for cloning subprojects in large svn repositories?
@ 2008-10-22 15:00 Jeff Kowalczyk
2008-10-22 15:07 ` Jacob Helwig
2008-10-22 15:08 ` Michael J Gruber
0 siblings, 2 replies; 3+ messages in thread
From: Jeff Kowalczyk @ 2008-10-22 15:00 UTC (permalink / raw)
To: git
I would like to git svn clone subprojects from a large community
subversion repository (plone collective).
The repository is currently at 74K commits, but subprojects of interest
are typically much more recent, and their initial import revision is known.
I would like to avoid a) unnecessary traffic to the svn server and b)
the very long delay in git svn cloning these subprojects.
Is there a way to specfiy a starting revision to git svn clone?
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Start git svn clone at specific revision for cloning subprojects in large svn repositories?
2008-10-22 15:00 Start git svn clone at specific revision for cloning subprojects in large svn repositories? Jeff Kowalczyk
@ 2008-10-22 15:07 ` Jacob Helwig
2008-10-22 15:08 ` Michael J Gruber
1 sibling, 0 replies; 3+ messages in thread
From: Jacob Helwig @ 2008-10-22 15:07 UTC (permalink / raw)
To: Jeff Kowalczyk; +Cc: git
On Wed, Oct 22, 2008 at 08:00, Jeff Kowalczyk <jtk@yahoo.com> wrote:
> I would like to git svn clone subprojects from a large community
> subversion repository (plone collective).
>
> The repository is currently at 74K commits, but subprojects of interest
> are typically much more recent, and their initial import revision is known.
>
> I would like to avoid a) unnecessary traffic to the svn server and b)
> the very long delay in git svn cloning these subprojects.
>
> Is there a way to specfiy a starting revision to git svn clone?
>
> Thanks.
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Try git svn init, then git svn fetch --revision <revision#>:HEAD.
This is what I use for some of our larger projects at work.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Start git svn clone at specific revision for cloning subprojects in large svn repositories?
2008-10-22 15:00 Start git svn clone at specific revision for cloning subprojects in large svn repositories? Jeff Kowalczyk
2008-10-22 15:07 ` Jacob Helwig
@ 2008-10-22 15:08 ` Michael J Gruber
1 sibling, 0 replies; 3+ messages in thread
From: Michael J Gruber @ 2008-10-22 15:08 UTC (permalink / raw)
To: Jeff Kowalczyk; +Cc: git
Jeff Kowalczyk venit, vidit, dixit 10/22/08 17:00:
> I would like to git svn clone subprojects from a large community
> subversion repository (plone collective).
>
> The repository is currently at 74K commits, but subprojects of interest
> are typically much more recent, and their initial import revision is known.
>
> I would like to avoid a) unnecessary traffic to the svn server and b)
> the very long delay in git svn cloning these subprojects.
>
> Is there a way to specfiy a starting revision to git svn clone?
Your friendly man page provider says:
-r <ARG>, --revision <ARG>
Used with the fetch command.
This allows revision ranges for partial/cauterized history to
be supported. $NUMBER, $NUMBER1:$NUMBER2 (numeric
ranges), $NUMBER:HEAD, and BASE:$NUMBER are all supported.
This can allow you to make partial mirrors when running
fetch; but is generally not recommended because history
will be skipped and lost.
Usage of "Scroll Down" is strongly advised when viewing git help svn ;)
Michael
P.S.: It works nicely, don't mind the warning in the man page if you
know the start rev for sure.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-22 15:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 15:00 Start git svn clone at specific revision for cloning subprojects in large svn repositories? Jeff Kowalczyk
2008-10-22 15:07 ` Jacob Helwig
2008-10-22 15:08 ` Michael J Gruber
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).