]> Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/log
svn2svn.git
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

12 years agoAdding README
Tony Duckles [Mon, 19 Dec 2011 00:41:55 +0000 (18:41 -0600)]
Adding README

12 years agoMajor rewrite for find_svn_ancestors() support
Tony Duckles [Sun, 18 Dec 2011 20:24:52 +0000 (14:24 -0600)]
Major rewrite for find_svn_ancestors() support

12 years agoAdding in_svn() for SVN 1.7 support
Tony Duckles [Thu, 15 Dec 2011 23:50:21 +0000 (17:50 -0600)]
Adding in_svn() for SVN 1.7 support

12 years agosvn log -r HEAD:HEAD doesn't always work, but svn log should return HEAD info by...
Tony Duckles [Thu, 15 Dec 2011 04:31:01 +0000 (22:31 -0600)]
svn log -r HEAD:HEAD doesn't always work, but svn log should return HEAD info by default

12 years agoBetter svn merge handling
Tony Duckles [Thu, 15 Dec 2011 04:28:23 +0000 (22:28 -0600)]
Better svn merge handling

12 years agoInitial commit: http://svn2svn.googlecode.com/svn/trunk/ r14
Tony Duckles [Thu, 15 Dec 2011 04:26:18 +0000 (22:26 -0600)]
Initial commit: http://svn2svn.googlecode.com/svn/trunk/ r14