]> Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/log
svn2svn.git
12 years agoREADME updates
Tony Duckles [Sun, 25 Mar 2012 04:59:01 +0000 (23:59 -0500)]
README updates

12 years agoFix edge-case problem with continue handling for --keep-revnum mode
Tony Duckles [Sun, 25 Mar 2012 04:49:10 +0000 (23:49 -0500)]
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.

12 years agoDon't allow starting a fresh (non-continue) replay into a non-empty target directory...
Tony Duckles [Sun, 25 Mar 2012 04:26:02 +0000 (23:26 -0500)]
Don't allow starting a fresh (non-continue) replay into a non-empty target directory (by default)

* svn2svn/run/svn2svn.py (real_main): Prevent user from starting a
fresh replay into a non-empty target directory, since chances are
they wanted to do a continue instead. Introduce "--force" arg to
allow replaying into a non-empty target directory.

12 years agoDon't use parser.error() for error messages
Tony Duckles [Sun, 25 Mar 2012 04:21:41 +0000 (23:21 -0500)]
Don't use parser.error() for error messages

* svn2svn/run/svn2svn.py (real_main): Don't use parser.error() for
error messages.

* svn2svn/run/svn2svn.py (commit_from_svn_log_entry): Include source
revision # in "Committed revision ..." message, so output is still
useful in non-verbose mode.

* svn2svn/run/svn2svn.py (real_main): Rename "_tmp_wc_target" to
* "_wc_target_tmp" (keep-revnum temp WC), for "_wc_*" matching.

12 years agoURL encode user-supplied source_url and target_url
Tony Duckles [Sun, 25 Mar 2012 00:51:57 +0000 (19:51 -0500)]
URL encode user-supplied source_url and target_url

* svn2svn/run/svn2svn.py (real_main): URL encode user-supplied
source_url and target_url values.

12 years agoBe more quiet by default
Tony Duckles [Sat, 24 Mar 2012 20:15:19 +0000 (15:15 -0500)]
Be more quiet by default

* svn2svn/run/svn2svn.py (disp_svn_log_summary, real_main): Only
display source rev info for --verbose mode.

* svn2svn/run/svn2svn.py (commit_from_svn_log_entry): Move
"Committed revision %s." message down after the post-commit revprops
have been updated, since the commit+revprops are an atomic unit.

12 years agoFor options.keep_author, update via post-commit rev-prop
Tony Duckles [Sat, 24 Mar 2012 20:05:33 +0000 (15:05 -0500)]
For options.keep_author, update via post-commit rev-prop

Rather than using "svn commit --username %author%", mirror the
source author info by setting the "svn:author" revprop post-commit
the same as we do for "svn:date" (options.keep_date). This frees us
up to be able to use --username in the future for legitimate
source/target repo auth.

* svn2svn/run/svn2svn.py (commit_from_svn_log_entry): Update
  "svn:author" via post-commit revprop rather than --username.
* README.mkd: Reflect new "svn:author" handling.

12 years agoPrevent KeyboardInterrupt's during SVN commit
Tony Duckles [Sat, 24 Mar 2012 19:31:26 +0000 (14:31 -0500)]
Prevent KeyboardInterrupt's during SVN commit

* svn2svn/run/breakhandler.py: Adding
* svn2svn/run/svn2svn.py (commit_from_svn_log_entry): Use
BreakHandler to ensure that "svn commit" and post-commit rev-prop
updating happen as an atomic unit.

12 years agoVerify-mode v1.4.0
Tony Duckles [Sat, 24 Mar 2012 18:45:29 +0000 (13:45 -0500)]
Verify-mode

Add command-line args for verifying content and ancestry, i.e. for
self-testing the replay. Compare the source vs. target history to
make sure we ended-up with equivalent target revisions for each
applicable source revision.

* svn2svn/run/svn2svn.py (verify_commit): Adding.
* tests/make-ref-repo.sh: Add tests for source revisions which
we'll never have an equivalent target revision for, e.g.
svn:mergeinfo property changes.

12 years agoMore fixes to iter_svn_log_entries ancestry-handling
Tony Duckles [Fri, 16 Mar 2012 03:23:08 +0000 (22:23 -0500)]
More fixes to iter_svn_log_entries ancestry-handling

* svn2svn/svnclient.py (iter_svn_log_entries): Correctly use and
respect ancestors() array: look for the next copyfrom_rev, and once
we crawl past the last copy-from then start at the final
path+revision.

* svn2svn/run/svn2svn.py (process_svn_log_entry): For action='R'
don't run "svn remove" command if path_offset="", i.e. don't try to
remove the root of the WC.

12 years agoFix iter_svn_log_entries ancestry-handling problems
Tony Duckles [Thu, 15 Mar 2012 03:41:00 +0000 (22:41 -0500)]
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.

12 years agoCorrectly crawl source_url's ancestry back to origin, if any
Tony Duckles [Thu, 15 Mar 2012 01:13:32 +0000 (20:13 -0500)]
Correctly crawl source_url's ancestry back to origin, if any

* svn2svn/svnclient.py (iter_svn_log_entries): Support new optional
'ancestors' param. Use that to correctly grab revision-chunks,
following the ancestry history.
* svn2svn/run/svn2svn.py (join_path, in_ancestors): New functions.
* svn2svn/run/svn2svn.py (real_main): Use find_svn_ancestors() to get ancestry
of source_url and pass that to downstream functions.

12 years agoRefactor find_svn_ancestors() to make more generic
Tony Duckles [Tue, 6 Mar 2012 04:01:28 +0000 (22:01 -0600)]
Refactor find_svn_ancestors() to make more generic

* svn2svn/run/svn2svn.py (find_svn_ancestors): Make 'stop_base_path'
optional so this function can be used generally to get the full
ancestry history.

* svn2svn/svnclient.py (get_first_svn_log_entry, get_last_svn_log_entry):
Add optional 'stop_on_copy' param and pass through to get_one_svn_log_entry().

12 years agoEnsure target WC is clean/reverted when continuing.
Tony Duckles [Sat, 18 Feb 2012 22:44:50 +0000 (16:44 -0600)]
Ensure target WC is clean/reverted when continuing.

12 years agoPerf: Only "svn update" when needed. This means a mixed-revision WC, but much-faster...
Tony Duckles [Sat, 18 Feb 2012 22:42:09 +0000 (16:42 -0600)]
Perf: Only "svn update" when needed. This means a mixed-revision WC, but much-faster replays for large WC's.

12 years agoUpdate parse_svn_status_xml() to use defensive conditional rather than assert for...
Tony Duckles [Sat, 18 Feb 2012 22:36:43 +0000 (16:36 -0600)]
Update parse_svn_status_xml() to use defensive conditional rather than assert for base_dir prefix checking

12 years agoFix process_svn_log_entry() to not include action="M" paths in skip_paths, so that...
Tony Duckles [Sat, 18 Feb 2012 22:35:04 +0000 (16:35 -0600)]
Fix process_svn_log_entry() to not include action="M" paths in skip_paths, so that do_svn_add() will try to check+create correct ancestry.
Update process_svn_log_entry() to calculate 'kind' if kind='none'.

12 years agoFix a place in find_svn_ancestors() which should've been using is_child_path().
Tony Duckles [Wed, 15 Feb 2012 20:48:14 +0000 (14:48 -0600)]
Fix a place in find_svn_ancestors() which should've been using is_child_path().
Display progress messages during build_rev_map(), for target repo's with lots of target_url commits to check.

12 years agoFix another --keep-revnum edge-case
Tony Duckles [Thu, 16 Feb 2012 01:42:53 +0000 (19:42 -0600)]
Fix another --keep-revnum edge-case

12 years agoCorrectly handle --keep-revnum mode during initial import
Tony Duckles [Sun, 12 Feb 2012 17:34:47 +0000 (11:34 -0600)]
Correctly handle --keep-revnum mode during initial import

12 years agoUpdates to README
Tony Duckles [Sat, 11 Feb 2012 22:11:03 +0000 (16:11 -0600)]
Updates to README

12 years agoUpdate README for --keep-date and --keep-revnum support
Tony Duckles [Sat, 11 Feb 2012 21:47:37 +0000 (15:47 -0600)]
Update README for --keep-date and --keep-revnum support

12 years agoAdd --keep-revnum support
Tony Duckles [Sat, 11 Feb 2012 21:38:25 +0000 (15:38 -0600)]
Add --keep-revnum support

12 years agoAdd --keep-date, --keep-prop, --archive, --log-author, --log-date command line args v1.2.0
Tony Duckles [Sat, 11 Feb 2012 21:36:21 +0000 (15:36 -0600)]
Add --keep-date, --keep-prop, --archive, --log-author, --log-date command line args
Add hook-examples/pre-revprop-change_example.txt

12 years agoBetter options.svn_rev parsing and validation
Tony Duckles [Sat, 11 Feb 2012 21:30:08 +0000 (15:30 -0600)]
Better options.svn_rev parsing and validation

12 years agoMake 'options' a global var
Tony Duckles [Sat, 11 Feb 2012 21:11:56 +0000 (15:11 -0600)]
Make 'options' a global var

12 years agoPerf Enh: Add skip_paths handling to do_svn_add(), to skip paths which will be handle...
Tony Duckles [Thu, 9 Feb 2012 04:21:11 +0000 (22:21 -0600)]
Perf Enh: Add skip_paths handling to do_svn_add(), to skip paths which will be handled later by process_svn_log_entry().

12 years agoSupport SVN versioned property updating
Tony Duckles [Thu, 9 Feb 2012 03:33:16 +0000 (21:33 -0600)]
Support SVN versioned property updating

12 years agoUpdate process_svn_log_entry() to calculate d['kind'] if missing.
Tony Duckles [Thu, 9 Feb 2012 03:25:24 +0000 (21:25 -0600)]
Update process_svn_log_entry() to calculate d['kind'] if missing.
Back-out changes from parse_svn_log_xml() to auto-calculate d['kind'] if not returned by "svn log --xml", since not all callers need d['kind']; just calculate on-demand where needed.

12 years agoFix copy-from handling and parent-path checking in get_kind()
Tony Duckles [Thu, 9 Feb 2012 03:18:24 +0000 (21:18 -0600)]
Fix copy-from handling and parent-path checking in get_kind()

12 years agoUse is_child_path() for correct path-is-child-of-parent-path checking.
Tony Duckles [Thu, 9 Feb 2012 03:11:43 +0000 (21:11 -0600)]
Use is_child_path() for correct path-is-child-of-parent-path checking.
Add all changed_path's to commit_paths; don't use add_path() anymore.
Don't use add_path() for managing commit_paths

12 years agoSupport revision range in --revision, both start and end point
Tony Duckles [Thu, 9 Feb 2012 01:28:32 +0000 (19:28 -0600)]
Support revision range in --revision, both start and end point

12 years agoFix iter_svn_log_entries() to handle chunks which have no matching entries.
Tony Duckles [Wed, 8 Feb 2012 04:04:42 +0000 (22:04 -0600)]
Fix iter_svn_log_entries() to handle chunks which have no matching entries.
Fix iter_svn_log_entries() to enforce a max_chunk_length.

12 years agoFix parse_svn_log_xml() to calculate d['kind'] if not returned by "svn log --xml...
Tony Duckles [Wed, 8 Feb 2012 03:43:58 +0000 (21:43 -0600)]
Fix parse_svn_log_xml() to calculate d['kind'] if not returned by "svn log --xml", to handle commits made on early SVN versions

12 years agoHandle empty "svn log" commit messages
Tony Duckles [Sat, 4 Feb 2012 04:50:14 +0000 (22:50 -0600)]
Handle empty "svn log" commit messages

12 years agoChange iter_svn_log_entries() back to getting smaller chunks, for better performance...
Tony Duckles [Sat, 4 Feb 2012 04:34:47 +0000 (22:34 -0600)]
Change iter_svn_log_entries() back to getting smaller chunks, for better performance on huge repositories.
Clarify safe iter_svn_log_entries() use-cases.
Use iter_svn_log_entries() where possible.

12 years agoAdd Links section to README
Tony Duckles [Thu, 2 Feb 2012 02:28:05 +0000 (20:28 -0600)]
Add Links section to README

12 years agoUpdate def process_svn_log_entry() to enumerate possible d['kind'] cases
Tony Duckles [Thu, 2 Feb 2012 02:03:54 +0000 (20:03 -0600)]
Update def process_svn_log_entry() to enumerate possible d['kind'] cases

12 years agoUpdate build_rev_map() to gracefully handle case where a target_rev has revprops...
Tony Duckles [Wed, 1 Feb 2012 03:43:37 +0000 (21:43 -0600)]
Update build_rev_map() to gracefully handle case where a target_rev has revprops but no svn2svn:* revprops

12 years agoMake module-level variables for source_*/target_*/rev_map
Tony Duckles [Sun, 29 Jan 2012 22:35:25 +0000 (17:35 -0500)]
Make module-level variables for source_*/target_*/rev_map

12 years agoMisc code clean-up
Tony Duckles [Sun, 29 Jan 2012 02:36:27 +0000 (21:36 -0500)]
Misc code clean-up

12 years agoUpdate README.mkd and documentation
Tony Duckles [Sat, 28 Jan 2012 15:26:37 +0000 (10:26 -0500)]
Update README.mkd and documentation

12 years agoImprove optparse formatting v1.1.0
Tony Duckles [Sat, 28 Jan 2012 05:00:05 +0000 (00:00 -0500)]
Improve optparse formatting

12 years ago* Add new --dry-run and --limit command-line args
Tony Duckles [Fri, 27 Jan 2012 18:53:34 +0000 (12:53 -0600)]
* Add new --dry-run and --limit command-line args
* Add error classes for InternalError and VerificationError
* Move all optparser handling to main()

12 years agoMigrate shared code to commit_from_svn_log_entry()
Tony Duckles [Fri, 27 Jan 2012 18:51:04 +0000 (12:51 -0600)]
Migrate shared code to commit_from_svn_log_entry()

12 years agoAdditive verbosity command-line args
Tony Duckles [Thu, 26 Jan 2012 06:32:15 +0000 (00:32 -0600)]
Additive verbosity command-line args

12 years agoAdd test revprop case. Fix some non-appending echo's.
Tony Duckles [Thu, 26 Jan 2012 06:07:03 +0000 (00:07 -0600)]
Add test revprop case. Fix some non-appending echo's.

12 years agoNo need to pre-throttle commit_paths in process_svn_log_entry()
Tony Duckles [Thu, 26 Jan 2012 05:25:06 +0000 (23:25 -0600)]
No need to pre-throttle commit_paths in process_svn_log_entry()

12 years agoNo need to defer "svn remove" actions anymore, due to earlier rewrites
Tony Duckles [Thu, 26 Jan 2012 05:16:53 +0000 (23:16 -0600)]
No need to defer "svn remove" actions anymore, due to earlier rewrites

12 years ago* Carry-forward revprop values from source repo
Tony Duckles [Thu, 26 Jan 2012 05:13:00 +0000 (23:13 -0600)]
* Carry-forward revprop values from source repo
* Make shared code for generating list of svn2svn:* source-tracking revprops

12 years agoBetter "Usage" help-text
Tony Duckles [Wed, 25 Jan 2012 06:08:02 +0000 (00:08 -0600)]
Better "Usage" help-text

12 years agoRemove obsolete pre-revprop-change.example.sh
Tony Duckles [Wed, 25 Jan 2012 05:44:25 +0000 (23:44 -0600)]
Remove obsolete pre-revprop-change.example.sh

12 years agoContinue-mode support w/ rev_map
Tony Duckles [Wed, 25 Jan 2012 05:40:32 +0000 (23:40 -0600)]
Continue-mode support w/ rev_map

12 years agoMerge branch 'modules' into develop
Tony Duckles [Tue, 24 Jan 2012 05:39:39 +0000 (23:39 -0600)]
Merge branch 'modules' into develop

12 years agoRun make-replay-repo in verbose-mode
Tony Duckles [Tue, 24 Jan 2012 05:38:34 +0000 (23:38 -0600)]
Run make-replay-repo in verbose-mode

12 years agoRemove HEAD-specific short-circuiting
Tony Duckles [Tue, 24 Jan 2012 05:35:01 +0000 (23:35 -0600)]
Remove HEAD-specific short-circuiting

12 years ago* Use ui.status for all status messages (verbose and debug)
Tony Duckles [Tue, 24 Jan 2012 05:31:02 +0000 (23:31 -0600)]
* Use ui.status for all status messages (verbose and debug)
* Show "Committed revision" after commits to target repo
* Fixes to in_svn()
* Show "svn status" results before cleanup when we catch an external-command exception

12 years agoMinor fixes to get_svn_status() handling
Tony Duckles [Tue, 24 Jan 2012 05:25:56 +0000 (23:25 -0600)]
Minor fixes to get_svn_status() handling

12 years agoDon't truncate status messages by default
Tony Duckles [Tue, 24 Jan 2012 05:24:58 +0000 (23:24 -0600)]
Don't truncate status messages by default

12 years agoAdd optional 'no_fail' param to run_svn() and downstream functions
Tony Duckles [Tue, 24 Jan 2012 05:24:02 +0000 (23:24 -0600)]
Add optional 'no_fail' param to run_svn() and downstream functions

12 years agoSupport 'color' named-param in ui.status()
Tony Duckles [Tue, 24 Jan 2012 03:56:11 +0000 (21:56 -0600)]
Support 'color' named-param in ui.status()

12 years agoMigrate to run/svn2svn.py v1.0.0
Tony Duckles [Tue, 24 Jan 2012 03:55:51 +0000 (21:55 -0600)]
Migrate to run/svn2svn.py

12 years agoAdd svn2svn specific changes
Tony Duckles [Sun, 22 Jan 2012 22:30:12 +0000 (16:30 -0600)]
Add svn2svn specific changes

12 years agoRemove hgsvn-centric exception classes
Tony Duckles [Sun, 22 Jan 2012 20:48:13 +0000 (14:48 -0600)]
Remove hgsvn-centric exception classes

12 years agoCopy shared hgsvn code: https://bitbucket.org/andialbrecht/hgsvn @ 528dea531a2e
Tony Duckles [Sun, 22 Jan 2012 20:44:26 +0000 (14:44 -0600)]
Copy shared hgsvn code: https://bitbucket.org/andialbrecht/hgsvn @ 528dea531a2e

12 years agoMerge branch 'ancestors' into develop
Tony Duckles [Sun, 22 Jan 2012 19:35:21 +0000 (13:35 -0600)]
Merge branch 'ancestors' into develop

12 years agoUpdate tests for "_wc_target"
Tony Duckles [Sat, 21 Jan 2012 20:59:32 +0000 (14:59 -0600)]
Update tests for "_wc_target"

12 years agoMore test cases
Tony Duckles [Sat, 21 Jan 2012 20:56:58 +0000 (14:56 -0600)]
More test cases

12 years ago* Fix replace handling in do_svn_add()
Tony Duckles [Sat, 21 Jan 2012 20:48:05 +0000 (14:48 -0600)]
* Fix replace handling in do_svn_add()
* Move removed_paths handling back to process_svn_log_entry()
* Misc code clean-up

12 years agoCheckout target WC in "_wc_target" instead of "_dup_wc"
Tony Duckles [Sat, 21 Jan 2012 20:47:06 +0000 (14:47 -0600)]
Checkout target WC in "_wc_target" instead of "_dup_wc"

12 years agoSplit pre-revprop-change example from make-replay-repo.sh to pre-revprop-change.examp...
Tony Duckles [Sat, 21 Jan 2012 03:53:36 +0000 (21:53 -0600)]
Split pre-revprop-change example from make-replay-repo.sh to pre-revprop-change.example.sh

12 years ago* Refactor find_svn_ancestors() to never require passed-in copyfrom_path/rev.
Tony Duckles [Sat, 21 Jan 2012 03:45:09 +0000 (21:45 -0600)]
* Refactor find_svn_ancestors() to never require passed-in copyfrom_path/rev.
* Rename replay_svn_copyfrom() -> do_svn_add() and rewrite to walk the add'd tree breadth-first to correctly handle any child contents with different ancestry than the parent.
* Update main() to rename source_rev -> source_start_rev for clarity.

12 years agoMore robust in_svn()
Tony Duckles [Fri, 20 Jan 2012 21:55:29 +0000 (15:55 -0600)]
More robust in_svn()

12 years ago* Debug parser option-group
Tony Duckles [Mon, 16 Jan 2012 00:55:36 +0000 (18:55 -0600)]
* Debug parser option-group
* Fix get_rev_map() off-by-one bug

12 years agoHandle source-tracking revprop setting directly in commit_from_svn_log_entry()
Tony Duckles [Sun, 15 Jan 2012 16:32:10 +0000 (10:32 -0600)]
Handle source-tracking revprop setting directly in commit_from_svn_log_entry()

12 years agoAdd command-line options for enabling debug/verbose options
Tony Duckles [Sun, 15 Jan 2012 16:31:05 +0000 (10:31 -0600)]
Add command-line options for enabling debug/verbose options

12 years agoCode clean-up
Tony Duckles [Sun, 15 Jan 2012 06:01:12 +0000 (00:01 -0600)]
Code clean-up

12 years agoTweaks to get_svn_dirlist() handling
Tony Duckles [Sun, 15 Jan 2012 04:27:31 +0000 (22:27 -0600)]
Tweaks to get_svn_dirlist() handling

12 years agoTweaks to tests/make-ref-repo.sh
Tony Duckles [Sun, 15 Jan 2012 04:27:12 +0000 (22:27 -0600)]
Tweaks to tests/make-ref-repo.sh

12 years agoFix and simplify get_svn_dirlist()
Tony Duckles [Sun, 15 Jan 2012 04:07:40 +0000 (22:07 -0600)]
Fix and simplify get_svn_dirlist()

12 years agoMajor rewrite for replay_svn_ancestors() -> replay_svn_copyfrom()
Tony Duckles [Sat, 14 Jan 2012 17:43:26 +0000 (11:43 -0600)]
Major rewrite for replay_svn_ancestors() -> replay_svn_copyfrom()

12 years agoInitial rev_map support handling and better svn-copy handling
Tony Duckles [Mon, 9 Jan 2012 00:33:40 +0000 (18:33 -0600)]
Initial rev_map support handling and better svn-copy handling

12 years agoAdd source-tracking revprop's
Tony Duckles [Sat, 7 Jan 2012 05:20:30 +0000 (23:20 -0600)]
Add source-tracking revprop's

12 years agoTest scripts
Tony Duckles [Sat, 7 Jan 2012 03:06:20 +0000 (21:06 -0600)]
Test scripts

12 years agoAdd COPYING.txt (GPL v3)
Tony Duckles [Fri, 30 Dec 2011 01:19:09 +0000 (19:19 -0600)]
Add COPYING.txt (GPL v3)

12 years agoAdd more TODO's. Need to support "svn copy" from an earlier commit on trunk.
Tony Duckles [Sun, 25 Dec 2011 16:02:33 +0000 (10:02 -0600)]
Add more TODO's. Need to support "svn copy" from an earlier commit on trunk.

12 years agoFix display for action="D"
Tony Duckles [Sun, 25 Dec 2011 03:43:58 +0000 (21:43 -0600)]
Fix display for action="D"

12 years agoProcess action="M" inline too now: we process paths in sorted order (depth-first...
Tony Duckles [Sun, 25 Dec 2011 03:35:50 +0000 (21:35 -0600)]
Process action="M" inline too now: we process paths in sorted order (depth-first), so need to run "svn merge" commands for parent folders ahead of "svn add/copy" commands for child files. Only action="D" are deferred now.

12 years agoDo WC "svn copy" if source exists locally, else do URL "svn copy" from copy-from...
Tony Duckles [Sat, 24 Dec 2011 22:05:35 +0000 (16:05 -0600)]
Do WC "svn copy" if source exists locally, else do URL "svn copy" from copy-from URL@rev

12 years ago* Fix changed_path sorting in parse_svn_log_xml()
Tony Duckles [Sat, 24 Dec 2011 18:31:40 +0000 (12:31 -0600)]
* Fix changed_path sorting in parse_svn_log_xml()
* Update process_svn_log_entry() to display 'action' rather than 'd['action']', since for action="R" we change action="A"

12 years agoOnly do replay_svn_ancestors() for kind="dir"
Tony Duckles [Fri, 23 Dec 2011 23:46:40 +0000 (17:46 -0600)]
Only do replay_svn_ancestors() for kind="dir"

12 years ago* Remove unused source_offset param in process_svn_log_entry
Tony Duckles [Fri, 23 Dec 2011 23:21:34 +0000 (17:21 -0600)]
* Remove unused source_offset param in process_svn_log_entry
* For "svn copy", use explicit target_url references rather than local wc references, to avoid problems for rename-cases during replays where the "remove" is committed ahead of the "add".
* Force -r value to be passed if using continue-mode, for short-term

12 years agoUpdate svnlog_verbose handling to log messages for deferred actions when deferred...
Tony Duckles [Fri, 23 Dec 2011 02:53:10 +0000 (20:53 -0600)]
Update svnlog_verbose handling to log messages for deferred actions when deferred actions are processed

12 years agoDisplay status message before running "svn commit" command
Tony Duckles [Fri, 23 Dec 2011 00:21:35 +0000 (18:21 -0600)]
Display status message before running "svn commit" command

12 years ago* Only pass "-v" to svn log when needed
Tony Duckles [Fri, 23 Dec 2011 00:13:48 +0000 (18:13 -0600)]
* Only pass "-v" to svn log when needed
* Fix replaced ("R") action handling
* Run "svn up" after each pull_svn_rev() to ensure working-copy is all at the same final HEAD revision.

12 years agoAdd warning about initial get_first_svn_log_entry() can be *very* slow
Tony Duckles [Thu, 22 Dec 2011 23:12:39 +0000 (17:12 -0600)]
Add warning about initial get_first_svn_log_entry() can be *very* slow

12 years agoFix run_svn_log @rev handling, don't run svn add on paths already in svn
Tony Duckles [Thu, 22 Dec 2011 23:10:41 +0000 (17:10 -0600)]
Fix run_svn_log @rev handling, don't run svn add on paths already in svn

12 years agoBetter verbose status messages source_url revisions
Tony Duckles [Thu, 22 Dec 2011 22:34:55 +0000 (16:34 -0600)]
Better verbose status messages source_url revisions

12 years agoEliminate _original_wc, replace initial "svn import" with "svn export+add"
Tony Duckles [Thu, 22 Dec 2011 22:03:45 +0000 (16:03 -0600)]
Eliminate _original_wc, replace initial "svn import" with "svn export+add"

12 years agoMore changes for find_svn_ancestors() support
Tony Duckles [Mon, 19 Dec 2011 04:37:18 +0000 (22:37 -0600)]
More changes for find_svn_ancestors() support