changeset 668:6be7c9ace365

svnwrap: s/_chunk_size/chunk_size/ The underscore prefix suggests that the chunk_size is a private variable. There's no reason for this, so we remove it in preparation for a refactoring. No functionality change.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 11 Aug 2010 19:57:35 +0200
parents e872f549e42f
children 186f13b35d15
files hgsubversion/svnwrap/svn_swig_wrapper.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnwrap/svn_swig_wrapper.py
+++ b/hgsubversion/svnwrap/svn_swig_wrapper.py
@@ -50,7 +50,7 @@ class SubversionConnectionException(Exce
     """
 
 '''Default chunk size used in fetch_history_at_paths() and revisions().'''
-_chunk_size = 1000
+chunk_size = 1000
 
 # exported values
 ERR_FS_CONFLICT = core.SVN_ERR_FS_CONFLICT
@@ -317,7 +317,7 @@ class SubversionRepo(object):
         return folders
 
     def revisions(self, paths=None, start=0, stop=0,
-                  chunk_size=_chunk_size):
+                  chunk_size=chunk_size):
         """Load the history of this repo.
 
         This is LAZY. It returns a generator, and fetches a small number