# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1281549455 -7200 # Node ID 6be7c9ace365e5e8eda7668f3c708b3cc18d69b0 # Parent e872f549e42ff41ff5616f0066c994e16152397a 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. diff --git a/hgsubversion/svnwrap/svn_swig_wrapper.py b/hgsubversion/svnwrap/svn_swig_wrapper.py --- 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