From 12b44955d1ad79ad7b8face6a5e606e28ab7ac65 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Thu, 22 Dec 2011 17:12:39 -0600 Subject: [PATCH] Add warning about initial get_first_svn_log_entry() can be *very* slow --- svn2svn.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/svn2svn.py b/svn2svn.py index cfed985..296fc5e 100755 --- a/svn2svn.py +++ b/svn2svn.py @@ -806,6 +806,9 @@ def main(): svn_start_log = get_last_svn_log_entry(source_url, 1, options.svn_rev) else: # Otherwise, get log entry of branch creation + # TODO: This call is *very* expensive on a repo with lots of revisions. + # Even though the call is passing --limit 1, it seems like that limit-filter + # is happening after SVN has fetched the full log history. svn_start_log = get_first_svn_log_entry(source_url, 1, greatest_rev) # This is the revision we will start from for source_url -- 2.43.0