git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Start git svn clone at specific revision for cloning subprojects in large svn repositories?

From
Jacob Helwig <jacob.helwig@gmail.com>
Date
Oct 22, 2008, 15:07 UTC
Message-ID
<8c9a060810220807q14ede199u205d35223f8a4710@mail.gmail.com>
In-Reply-To
<pan.2008.10.22.15.00.21.403423@yahoo.com>
On Wed, Oct 22, 2008 at 08:00, Jeff Kowalczyk <jtk@yahoo.com> wrote:
Show 21 quoted lines
> 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.

Previous: Jeff KowalczykNext: Michael J Gruber
Message 2 of 3 in “Start git svn clone at specific revision for cloning subprojects in large svn repositories?”
  1. Jeff KowalczykOct 22, 2008
  2. Jacob HelwigOct 22, 2008
  3. Michael J GruberOct 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.