terminate child svn log -v process when the common ancestor revision has been determined

This commit is contained in:
Josh Holtrop 2012-08-23 16:15:14 -04:00
parent 33f5a85079
commit 03fe7d9c7e

1
jsvn
View File

@ -534,6 +534,7 @@ def find_branched_revision(svn, branch_url, branch_path, base_path):
new_path, old_path, rev = m.group(1, 2, 3)
if new_path == search_path:
if old_path == base_path:
p.kill()
return (int(rev), old_path)
search_path = old_path
return (-1, '')