You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/02/05 19:54:24 UTC
svn commit: r907048 - /subversion/trunk/subversion/svn/main.c
Author: stsp
Date: Fri Feb 5 18:54:24 2010
New Revision: 907048
URL: http://svn.apache.org/viewvc?rev=907048&view=rev
Log:
* subversion/svn/main.c
(svn_cl__cmd_table): Update the help text for svn patch to cover recent
developments. Some wording fixes while here.
Modified:
subversion/trunk/subversion/svn/main.c
Modified: subversion/trunk/subversion/svn/main.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/main.c?rev=907048&r1=907047&r2=907048&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/main.c (original)
+++ subversion/trunk/subversion/svn/main.c Fri Feb 5 18:54:24 2010
@@ -779,17 +779,20 @@
("Apply a patch to a working copy.\n"
"usage: patch PATCHFILE [WCPATH]\n"
"\n"
- " Apply unidiff content in PATCHFILE to the working copy WCPATH.\n"
+ " Apply a unidiff patch in PATCHFILE to the working copy WCPATH.\n"
" If WCPATH is omitted, '.' is assumed.\n"
- " A unidiff file suitable for application to a working copy can be\n"
+ " A unidiff patch suitable for application to a working copy can be\n"
" produced with the 'svn diff' command or third-party diffing tools.\n"
" Any non-unidiff content of PATCHFILE is ignored.\n"
"\n"
+ " Changes listed in the patch will either be applied or rejected.\n"
" If a change does not match at its exact line offset, it may be applied\n"
" earlier or later in the file if a match is found elsewhere for the\n"
" surrounding lines of context provided in the unidiff.\n"
- " If no matching context can be found for a change, the change will\n"
- " produce a text conflict at its exact line offset.\n"
+ " A change may also be applied with fuzz, which means that one or more\n"
+ " lines of context are ignored when matching the change.\n"
+ " If no matching context can be found for a change, the change conflicts\n"
+ " and will be written to a reject file with the extension .svnpatch.rej.\n"
"\n"
" For each patched file a line will be printed with characters reporting\n"
" the action taken. These characters have the following meaning:\n"
@@ -800,8 +803,11 @@
" C Conflict\n"
" G Merged\n"
"\n"
- " If a unidiff removes all content from a file, that file is scheduled\n"
- " for deletion. If a unidiff creates a new file, that file is scheduled\n"
+ " Changes applied with an offset or fuzz are reported on lines starting\n"
+ " with the '>' symbol. You should review such changes carefully.\n"
+ "\n"
+ " If the patch removes all content from a file, that file is scheduled\n"
+ " for deletion. If the patch creates a new file, that file is scheduled\n"
" for addition. Use 'svn revert' to undo deletions and additions you\n"
" do not agree with.\n"
),