]> Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/commit
Fix iter_svn_log_entries ancestry-handling problems
authorTony Duckles <tony@nynim.org>
Thu, 15 Mar 2012 03:41:00 +0000 (22:41 -0500)
committerTony Duckles <tony@nynim.org>
Thu, 15 Mar 2012 03:59:08 +0000 (22:59 -0500)
commit8e4b538fab45c1cecad2c938050f42d451b43b40
treec433421abf2b0defb12b218030ef84fd0efe1ac4
parentc608d0b6b7112b5e356e198aa1ff9cf9dea71d04
Fix iter_svn_log_entries ancestry-handling problems

Change return format of find_svn_ancestors() to include
copyfrom_path+copyfrom_rev info.  We need this in iter_svn_log_entries()
for correctly "svn log"'ing over only valid ancestry. Previously, we
were basically assuming that copyfrom_rev was always revision-1, and
trying to "svn log" on that revision-range can yield errors.

* svn2svn/run/svn2svn.py (find_svn_ancestors): Change return format
so that each entry in the array is a path+revision+copyfrom_path+copyfrom_rev
tuplet.
* svn2svn/run/svn2svn.py (do_svn_add): Minor changes to support new
find_svn_ancestors() return format.

* svn2svn/run/svn2svn.py (do_svn_add_dir): Fix local-not-remote
handling, to correctly handling directories.
svn2svn/run/svn2svn.py
svn2svn/svnclient.py