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

Re: [PATCH] Document git-svn fetch --log-window-size parameter

From
Jeff King <peff@peff.net>
Date
Oct 26, 2012, 13:32 UTC
Message-ID
<20121026133250.GI1455@sigill.intra.peff.net>
In-Reply-To
<20121026094602.GA7887@dcvr.yhbt.net>
On Fri, Oct 26, 2012 at 09:46:02AM +0000, Eric Wong wrote:
Show 12 quoted lines
> > Thanks. Your description makes sense to me, but I do not have enough
> > git-svn knowledge to know if it covers all intended uses of the flag.
> > Eric?
> > 
> > > +--log-window-size=<n>;;
> > > +    Fetch <n> log entries per request when scanning Subversion history.
> > > +    The default is 100. For very large Subversion repositories, larger
> > > +    values may be needed for 'clone'/'fetch' to complete in reasonable
> > > +    time. But overly large values may lead to request timeouts.
> 
> Overly large values also lead to excessive memory usage.  I may have
> only had 256M in my dev machine at the time I added this parameter:

That's probably worth mentioning. Gunnlaugur, any objection to me amending your commit with:

diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index 64756c9..8b0d3ad 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -150,7 +150,8 @@ Skip "branches" and "tags" of first level directories;;
     Fetch <n> log entries per request when scanning Subversion history.
     The default is 100. For very large Subversion repositories, larger
     values may be needed for 'clone'/'fetch' to complete in reasonable
-    time. But overly large values may lead to request timeouts.
+    time. But overly large values may lead to higher memory usage and
+    request timeouts.
 
 'clone'::
 	Runs 'init' and 'fetch'.  It will automatically create a

?

-Peff
Previous: Eric WongNext: Gunnlaugur Thor Briem
Message 4 of 8 in “Document git-svn fetch --log-window-size parameter”
  1. Document git-svn fetch --log-window-size parameterGunnlaugur Þór Briem, Oct 23, 2012
  2. Jeff KingOct 25, 2012
  3. Eric WongOct 26, 2012
  4. Jeff KingOct 26, 2012
  5. Gunnlaugur Thor BriemOct 26, 2012
  6. Eric WongOct 29, 2012
  7. Jeff KingOct 29, 2012
  8. Eric WongOct 29, 2012

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.