Fossil SCM
Improvements to documentation for the "patch" command.
Commit
14ebbe9d99ef2e4a653f3a8ba2868126ce8633c14a7e04ff9697f7d336193de4
Parent
ccc780f55261264…
1 file changed
+12
-10
+12
-10
| --- src/patch.c | ||
| +++ src/patch.c | ||
| @@ -839,36 +839,38 @@ | ||
| 839 | 839 | ** This command is used to create, view, and apply Fossil binary patches. |
| 840 | 840 | ** A Fossil binary patch is a single (binary) file that captures all of the |
| 841 | 841 | ** uncommitted changes of a check-out. Use Fossil binary patches to transfer |
| 842 | 842 | ** proposed or incomplete changes between machines for testing or analysis. |
| 843 | 843 | ** |
| 844 | -** > fossil patch create [DIRECTORY] FILENAME | |
| 844 | +** > fossil patch create [DIRECTORY] PATCHFILE | |
| 845 | 845 | ** |
| 846 | -** Create a new binary patch in FILENAME that captures all uncommitted | |
| 846 | +** Create a new binary patch in PATCHFILE that captures all uncommitted | |
| 847 | 847 | ** changes in the check-out at DIRECTORY, or the current directory if |
| 848 | -** DIRECTORY is omitted. If FILENAME is "-" then the binary patch | |
| 848 | +** DIRECTORY is omitted. If PATCHFILE is "-" then the binary patch | |
| 849 | 849 | ** is written to standard output. |
| 850 | 850 | ** |
| 851 | 851 | ** Options: |
| 852 | 852 | ** -f|--force Overwrite an existing patch with the same name |
| 853 | 853 | ** |
| 854 | -** > fossil patch apply [DIRECTORY] FILENAME | |
| 854 | +** > fossil patch apply [DIRECTORY] PATCHFILE | |
| 855 | 855 | ** |
| 856 | -** Apply the changes in FILENAME to the check-out at DIRECTORY, or | |
| 856 | +** Apply the changes in PATCHFILE to the check-out at DIRECTORY, or | |
| 857 | 857 | ** in the current directory if DIRECTORY is omitted. |
| 858 | 858 | ** |
| 859 | 859 | ** Options: |
| 860 | 860 | ** -f|--force Apply the patch even though there are unsaved |
| 861 | 861 | ** changes in the current check-out. Unsaved changes |
| 862 | 862 | ** are reverted and permanently lost. |
| 863 | 863 | ** -n|--dry-run Do nothing, but print what would have happened |
| 864 | 864 | ** -v|--verbose Extra output explaining what happens |
| 865 | 865 | ** |
| 866 | -** > fossil patch diff [DIRECTORY] FILENAME | |
| 867 | -** > fossil patch gdiff [DIRECTORY] FILENAME | |
| 866 | +** > fossil patch diff [DIRECTORY] PATCHFILE | |
| 867 | +** > fossil patch gdiff [DIRECTORY] PATCHFILE | |
| 868 | 868 | ** |
| 869 | -** Show a human-readable diff for the patch. All the usual | |
| 869 | +** Show a human-readable diff for the patch in PATCHFILE and assocated | |
| 870 | +** with the the repository checked out in DIRECTORY. The currrent | |
| 871 | +** directory is used if DIRECTORY is omitted. All the usual | |
| 870 | 872 | ** diff flags described at "fossil help diff" apply. With gdiff, |
| 871 | 873 | ** gdiff-command is used instead of internal diff logic. In addition: |
| 872 | 874 | ** |
| 873 | 875 | ** -f|--force Continue trying to perform the diff even if |
| 874 | 876 | ** baseline information is missing from the current |
| @@ -904,13 +906,13 @@ | ||
| 904 | 906 | ** > fossil patch pull REMOTE-CHECKOUT |
| 905 | 907 | ** |
| 906 | 908 | ** Like "fossil patch push" except that the transfer is from remote |
| 907 | 909 | ** to local. All the same command-line options apply. |
| 908 | 910 | ** |
| 909 | -** > fossil patch view FILENAME | |
| 911 | +** > fossil patch view PATCHFILE | |
| 910 | 912 | ** |
| 911 | -** View a summary of the changes in the binary patch FILENAME. | |
| 913 | +** View a summary of the changes in the binary patch in PATCHFILE. | |
| 912 | 914 | ** Use "fossil patch diff" for detailed patch content. |
| 913 | 915 | ** |
| 914 | 916 | ** -v|--verbose Show extra detail about the patch |
| 915 | 917 | ** |
| 916 | 918 | */ |
| 917 | 919 |
| --- src/patch.c | |
| +++ src/patch.c | |
| @@ -839,36 +839,38 @@ | |
| 839 | ** This command is used to create, view, and apply Fossil binary patches. |
| 840 | ** A Fossil binary patch is a single (binary) file that captures all of the |
| 841 | ** uncommitted changes of a check-out. Use Fossil binary patches to transfer |
| 842 | ** proposed or incomplete changes between machines for testing or analysis. |
| 843 | ** |
| 844 | ** > fossil patch create [DIRECTORY] FILENAME |
| 845 | ** |
| 846 | ** Create a new binary patch in FILENAME that captures all uncommitted |
| 847 | ** changes in the check-out at DIRECTORY, or the current directory if |
| 848 | ** DIRECTORY is omitted. If FILENAME is "-" then the binary patch |
| 849 | ** is written to standard output. |
| 850 | ** |
| 851 | ** Options: |
| 852 | ** -f|--force Overwrite an existing patch with the same name |
| 853 | ** |
| 854 | ** > fossil patch apply [DIRECTORY] FILENAME |
| 855 | ** |
| 856 | ** Apply the changes in FILENAME to the check-out at DIRECTORY, or |
| 857 | ** in the current directory if DIRECTORY is omitted. |
| 858 | ** |
| 859 | ** Options: |
| 860 | ** -f|--force Apply the patch even though there are unsaved |
| 861 | ** changes in the current check-out. Unsaved changes |
| 862 | ** are reverted and permanently lost. |
| 863 | ** -n|--dry-run Do nothing, but print what would have happened |
| 864 | ** -v|--verbose Extra output explaining what happens |
| 865 | ** |
| 866 | ** > fossil patch diff [DIRECTORY] FILENAME |
| 867 | ** > fossil patch gdiff [DIRECTORY] FILENAME |
| 868 | ** |
| 869 | ** Show a human-readable diff for the patch. All the usual |
| 870 | ** diff flags described at "fossil help diff" apply. With gdiff, |
| 871 | ** gdiff-command is used instead of internal diff logic. In addition: |
| 872 | ** |
| 873 | ** -f|--force Continue trying to perform the diff even if |
| 874 | ** baseline information is missing from the current |
| @@ -904,13 +906,13 @@ | |
| 904 | ** > fossil patch pull REMOTE-CHECKOUT |
| 905 | ** |
| 906 | ** Like "fossil patch push" except that the transfer is from remote |
| 907 | ** to local. All the same command-line options apply. |
| 908 | ** |
| 909 | ** > fossil patch view FILENAME |
| 910 | ** |
| 911 | ** View a summary of the changes in the binary patch FILENAME. |
| 912 | ** Use "fossil patch diff" for detailed patch content. |
| 913 | ** |
| 914 | ** -v|--verbose Show extra detail about the patch |
| 915 | ** |
| 916 | */ |
| 917 |
| --- src/patch.c | |
| +++ src/patch.c | |
| @@ -839,36 +839,38 @@ | |
| 839 | ** This command is used to create, view, and apply Fossil binary patches. |
| 840 | ** A Fossil binary patch is a single (binary) file that captures all of the |
| 841 | ** uncommitted changes of a check-out. Use Fossil binary patches to transfer |
| 842 | ** proposed or incomplete changes between machines for testing or analysis. |
| 843 | ** |
| 844 | ** > fossil patch create [DIRECTORY] PATCHFILE |
| 845 | ** |
| 846 | ** Create a new binary patch in PATCHFILE that captures all uncommitted |
| 847 | ** changes in the check-out at DIRECTORY, or the current directory if |
| 848 | ** DIRECTORY is omitted. If PATCHFILE is "-" then the binary patch |
| 849 | ** is written to standard output. |
| 850 | ** |
| 851 | ** Options: |
| 852 | ** -f|--force Overwrite an existing patch with the same name |
| 853 | ** |
| 854 | ** > fossil patch apply [DIRECTORY] PATCHFILE |
| 855 | ** |
| 856 | ** Apply the changes in PATCHFILE to the check-out at DIRECTORY, or |
| 857 | ** in the current directory if DIRECTORY is omitted. |
| 858 | ** |
| 859 | ** Options: |
| 860 | ** -f|--force Apply the patch even though there are unsaved |
| 861 | ** changes in the current check-out. Unsaved changes |
| 862 | ** are reverted and permanently lost. |
| 863 | ** -n|--dry-run Do nothing, but print what would have happened |
| 864 | ** -v|--verbose Extra output explaining what happens |
| 865 | ** |
| 866 | ** > fossil patch diff [DIRECTORY] PATCHFILE |
| 867 | ** > fossil patch gdiff [DIRECTORY] PATCHFILE |
| 868 | ** |
| 869 | ** Show a human-readable diff for the patch in PATCHFILE and assocated |
| 870 | ** with the the repository checked out in DIRECTORY. The currrent |
| 871 | ** directory is used if DIRECTORY is omitted. All the usual |
| 872 | ** diff flags described at "fossil help diff" apply. With gdiff, |
| 873 | ** gdiff-command is used instead of internal diff logic. In addition: |
| 874 | ** |
| 875 | ** -f|--force Continue trying to perform the diff even if |
| 876 | ** baseline information is missing from the current |
| @@ -904,13 +906,13 @@ | |
| 906 | ** > fossil patch pull REMOTE-CHECKOUT |
| 907 | ** |
| 908 | ** Like "fossil patch push" except that the transfer is from remote |
| 909 | ** to local. All the same command-line options apply. |
| 910 | ** |
| 911 | ** > fossil patch view PATCHFILE |
| 912 | ** |
| 913 | ** View a summary of the changes in the binary patch in PATCHFILE. |
| 914 | ** Use "fossil patch diff" for detailed patch content. |
| 915 | ** |
| 916 | ** -v|--verbose Show extra detail about the patch |
| 917 | ** |
| 918 | */ |
| 919 |