Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Improvements to documentation for the "patch" command. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
14ebbe9d99ef2e4a653f3a8ba2868126 |
| User & Date: | drh 2023-09-19 11:41:10.962 |
Context
|
2023-09-19
| ||
| 11:59 | Fix formatting for the help text of the 'branch' command. ... (check-in: 132af984d0 user: danield tags: trunk) | |
| 11:41 | Improvements to documentation for the "patch" command. ... (check-in: 14ebbe9d99 user: drh tags: trunk) | |
| 11:31 | Improvements to help-text HTML formatting. ... (check-in: ccc780f552 user: drh tags: trunk) | |
Changes
Changes to src/patch.c.
| ︙ | ︙ | |||
837 838 839 840 841 842 843 | ** Usage: %fossil patch SUBCOMMAND ?ARGS ..? ** ** This command is used to create, view, and apply Fossil binary patches. ** A Fossil binary patch is a single (binary) file that captures all of the ** uncommitted changes of a check-out. Use Fossil binary patches to transfer ** proposed or incomplete changes between machines for testing or analysis. ** | | | | | | | | | > > | 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 | ** Usage: %fossil patch SUBCOMMAND ?ARGS ..? ** ** This command is used to create, view, and apply Fossil binary patches. ** A Fossil binary patch is a single (binary) file that captures all of the ** uncommitted changes of a check-out. Use Fossil binary patches to transfer ** proposed or incomplete changes between machines for testing or analysis. ** ** > fossil patch create [DIRECTORY] PATCHFILE ** ** Create a new binary patch in PATCHFILE that captures all uncommitted ** changes in the check-out at DIRECTORY, or the current directory if ** DIRECTORY is omitted. If PATCHFILE is "-" then the binary patch ** is written to standard output. ** ** Options: ** -f|--force Overwrite an existing patch with the same name ** ** > fossil patch apply [DIRECTORY] PATCHFILE ** ** Apply the changes in PATCHFILE to the check-out at DIRECTORY, or ** in the current directory if DIRECTORY is omitted. ** ** Options: ** -f|--force Apply the patch even though there are unsaved ** changes in the current check-out. Unsaved changes ** are reverted and permanently lost. ** -n|--dry-run Do nothing, but print what would have happened ** -v|--verbose Extra output explaining what happens ** ** > fossil patch diff [DIRECTORY] PATCHFILE ** > fossil patch gdiff [DIRECTORY] PATCHFILE ** ** Show a human-readable diff for the patch in PATCHFILE and assocated ** with the the repository checked out in DIRECTORY. The currrent ** directory is used if DIRECTORY is omitted. All the usual ** diff flags described at "fossil help diff" apply. With gdiff, ** gdiff-command is used instead of internal diff logic. In addition: ** ** -f|--force Continue trying to perform the diff even if ** baseline information is missing from the current ** repository ** |
| ︙ | ︙ | |||
902 903 904 905 906 907 908 | ** ** ** > fossil patch pull REMOTE-CHECKOUT ** ** Like "fossil patch push" except that the transfer is from remote ** to local. All the same command-line options apply. ** | | | | 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 |
**
**
** > fossil patch pull REMOTE-CHECKOUT
**
** Like "fossil patch push" except that the transfer is from remote
** to local. All the same command-line options apply.
**
** > fossil patch view PATCHFILE
**
** View a summary of the changes in the binary patch in PATCHFILE.
** Use "fossil patch diff" for detailed patch content.
**
** -v|--verbose Show extra detail about the patch
**
*/
void patch_cmd(void){
const char *zCmd;
|
| ︙ | ︙ |