Document git-svn fetch --log-window-size parameter
PATCH 1/1 Document git-svn fetch --log-window-size parameter
The --log-window-size parameter to git-svn fetch is undocumented.
Minimally describe what it does and why the user might change it.
--- Documentation/git-svn.txt | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/git-svn.txt +6 -0
@@ -146,6 +146,12 @@ Skip "branches" and "tags" of first level directories;; ------------------------------------------------------------------------ -- +--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. + 'clone':: Runs 'init' and 'fetch'. It will automatically create a directory based on the basename of the URL passed to it;
Signature · 1 line
1.7.12.3
Quoted 3 lines · Gunnlaugur Þór Briem
The --log-window-size parameter to git-svn fetch is undocumented.
Minimally describe what it does and why the user might change it.
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?
Documentation/git-svn.txt Skip "branches" and "tags" of first level directories;; · line 153
Quoted 5 lines
+--log-window-size=<n>;;
Documentation/git-svn.txt +4
-0+ 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.
-Peff
Quoted 15 lines · Jeff King
Quoted 3 lines · Gunnlaugur Þór Briem
The --log-window-size parameter to git-svn fetch is undocumented.
Minimally describe what it does and why the user might change it.
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?
Quoted 5 lines
+--log-window-size=<n>;;
Documentation/git-svn.txt +4
-0+ 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:
commit 6af1db447b10c03db4c04a55000efaa9aad38caa
Author: Eric Wong <[email protected]>
Date: Wed Feb 14 16:04:10 2007 -0800
git-svn: allow --log-window-size to be specified, default to 100
The newer default value should should lower memory usage for large fetches and also help with fetching from less reliable servers. Previously the value was 1000 and memory usage got a bit high on some repositories and fetching became less reliable in some cases.
Quoted 4 lines · Eric Wong
Quoted 4 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?
Quoted 8 lines
Quoted 5 lines
Review
Quoted 5 lines
+--log-window-size=<n>;;
(quoted diff) +4
-0+ 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:
Documentation/git-svn.txt +2 -1
@@ -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
Quoted 18 lines · Jeff King
That's probably worth mentioning. Gunnlaugur, any objection to me amending your commit with:
Documentation/git-svn.txt +2
-1@@ -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
Quoted 1 line
?
No objection, that sounds fine to me.
-Gulli
Quoted 6 lines · Jeff King
Quoted 2 lines · Eric Wong
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:
Thanks both, I've amended and S-o-b on my end. Shall I add:
and push?
Quoted 10 lines · Eric Wong
Quoted 6 lines · Jeff King
Quoted 2 lines · Eric Wong
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:
Thanks both, I've amended and S-o-b on my end. Shall I add:
Signed-off-by Jeff King <[email protected]>
Since it was such a small topic, I just went ahead and queued bc22b27 in my repo. If that's not OK, I can revert it from 'next' and wait to get it by pulling from you.
-Peff
Quoted 3 lines · Jeff King
Since it was such a small topic, I just went ahead and queued bc22b27 in my repo. If that's not OK, I can revert it from 'next' and wait to get it by pulling from you.
That's fine, thanks!