]> Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/commit
Fix edge-case problem with continue handling for --keep-revnum mode
authorTony Duckles <tony@nynim.org>
Sun, 25 Mar 2012 04:49:10 +0000 (23:49 -0500)
committerTony Duckles <tony@nynim.org>
Sun, 25 Mar 2012 04:49:10 +0000 (23:49 -0500)
commit1f57c03c67446509ea53eab6e112f46192b0dafe
tree693c4c9586e3c744716657912c27e715efa92fad
parente219f1e2109f3115e8e07d5aec09c0b83dc53b8e
Fix edge-case problem with continue handling for --keep-revnum mode

* svn2svn/run/svn2svn.py (real_main): Check for --keep-revnum
problem condition inside main loop rather than ahead, so that we
compare the last target_url revision to the *next* source_url rev to
be replayed, not the *last* source_url rev that was replayed.

* svn2svn/run/svn2svn.py (keep_revnum): Use BreakHandler to ensure
that "Committed revision ..." message is always shown if we ran a
keep-revnum mode "svn commit".

* svn2svn/run/svn2svn.py (real_main): Fix "Finished at source
revision ..." message to be more accurate, to display the last
source_url rev replayed. Previously, in some cases (e.g. keep-revnum
mode) this could display the *next* source_url rev to be replayed.
svn2svn/run/svn2svn.py