Minor documentation tweaks
authorTony Duckles <tony@nynim.org>
Thu, 27 Sep 2012 06:01:04 +0000 (01:01 -0500)
committerTony Duckles <tony@nynim.org>
Thu, 27 Sep 2012 06:01:04 +0000 (01:01 -0500)
* svn2svn/run/svnreplay.py: Minor tweaks to the documentation for
  some of the command-line args.
* README.mkd: Sync with the latest "--help" contents.

README.mkd
svn2svn/run/svnreplay.py

index a81fb2c094051c13c1249cbf5bc28f25de1c7677..86de839556057c014b831dd5171554f0eda8edd6 100644 (file)
@@ -57,7 +57,7 @@ Usage
 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
@@ -104,12 +104,12 @@ See `svnreplay.py --help`:
                             (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')
@@ -129,6 +129,7 @@ See `svnreplay.py --help`:
                             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
index 71194cd515ec91571822c4b8bc48a7979dd3767a..b86ad10d3c2f5e094a7a4af41a2cbc6c9eb9546f 100644 (file)
@@ -1043,12 +1043,12 @@ Examples:
     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"