See `svnreplay.py --help`:
$ ./svnreplay.py --help
- svn2svn, version 1.6.0
+ svn2svn, version 1.7.0
<http://nynim.org/projects/svn2svn> <https://github.com/tonyduckles/svn2svn>
Usage: svnreplay.py [OPTIONS] source_url target_url
(REQUIRES 'pre-revprop-change' hook script to allow
'svn:date' changes.)
-P, --keep-prop Maintain same file/dir SVN properties as source.
- -R, --keep-revnum Maintain same rev #'s as source. creates placeholder
+ -R, --keep-revnum Maintain same rev #'s as source. Creates placeholder
target revisions (by modifying a 'svn2svn:keep-revnum'
property at the root of the target repo).
-c, --continue Continue from last source commit to target (based on
svn2svn:* revprops).
- -f, --force Allow replaying into a non-empty target folder.
+ -f, --force Allow replaying into a non-empty target-repo folder.
-r, --revision=ARG Revision range to replay from source_url.
A revision argument can be one of:
START Start rev # (end will be 'HEAD')
after every target commit or last target commit.
--pre-commit=CMD Run the given shell script before each replayed
commit, e.g. to modify file-content during replay.
+ Called as: CMD [wc_path] [source_rev]
--debug Enable debugging output (same as -vvv).
Side Effects
parser.add_option("-P", "--keep-prop", action="store_true", dest="keep_prop", default=False,
help="Maintain same file/dir SVN properties as source.")
parser.add_option("-R", "--keep-revnum", action="store_true", dest="keep_revnum", default=False,
- help="Maintain same rev #'s as source. creates placeholder target "
+ help="Maintain same rev #'s as source. Creates placeholder target "
"revisions (by modifying a 'svn2svn:keep-revnum' property at the root of the target repo).")
parser.add_option("-c", "--continue", action="store_true", dest="cont_from_break",
help="Continue from last source commit to target (based on svn2svn:* revprops).")
parser.add_option("-f", "--force", action="store_true", dest="force_nocont",
- help="Allow replaying into a non-empty target folder.")
+ help="Allow replaying into a non-empty target-repo folder.")
parser.add_option("-r", "--revision", type="string", dest="revision", metavar="ARG",
help="Revision range to replay from source_url.\n"
"A revision argument can be one of:\n"