From cc3f68bf11d9bec1596d63210652f285105bdf0b Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Wed, 25 Jan 2012 23:25:06 -0600 Subject: [PATCH] No need to pre-throttle commit_paths in process_svn_log_entry() --- svn2svn/run/svn2svn.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/svn2svn/run/svn2svn.py b/svn2svn/run/svn2svn.py index eb487d1..2f26aec 100644 --- a/svn2svn/run/svn2svn.py +++ b/svn2svn/run/svn2svn.py @@ -498,10 +498,7 @@ def process_svn_log_entry(log_entry, source_repos_url, source_url, target_url, \ # Try to be efficient and keep track of an explicit list of paths in the # working copy that changed. If we commit from the root of the working copy, # then SVN needs to crawl the entire working copy looking for pending changes. - # But, if we gather too many paths to commit, then we wipe commit_paths below - # and end-up doing a commit at the root of the working-copy. - if len (commit_paths) < 100: - commit_paths.append(path_offset) + commit_paths = add_path(commit_paths, path_offset) # Special-handling for replace's if action == 'R': -- 2.45.2