Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fixed various typos and omissions in help sections |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
44b02c3de9593d50035dfcff261525c0 |
User & Date: | BMorgat 2010-07-23 09:37:18 |
Context
2010-07-23
| ||
14:38 | Fixed a link error in wiki ... (check-in: 6c73d1b2cd user: BMorgat tags: trunk) | |
09:37 | Fixed various typos and omissions in help sections ... (check-in: 44b02c3de9 user: BMorgat tags: trunk) | |
2010-07-21
| ||
16:33 | Update the built-in SQLite to version 3.7.0rc2. ... (check-in: 93d7f371cc user: drh tags: trunk) | |
Changes
Changes to src/allrepo.c.
︙ | ︙ | |||
52 53 54 55 56 57 58 59 60 61 62 63 64 65 | ** COMMAND: all ** ** Usage: %fossil all (list|ls|pull|push|rebuild|sync) ** ** The ~/.fossil file records the location of all repositories for a ** user. This command performs certain operations on all repositories ** that can be useful before or after a period of disconnection operation. ** Available operations are: ** ** list | ls Display the location of all repositories ** ** pull Run a "pull" operation on all repositories ** ** push Run a "push" on all repositories | > > > > | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | ** COMMAND: all ** ** Usage: %fossil all (list|ls|pull|push|rebuild|sync) ** ** The ~/.fossil file records the location of all repositories for a ** user. This command performs certain operations on all repositories ** that can be useful before or after a period of disconnection operation. ** ** On Win32 systems, this file is located in %LOCALAPPDATA%, %APDDATA% ** or %HOMEPATH% and is named _fossil. ** ** Available operations are: ** ** list | ls Display the location of all repositories ** ** pull Run a "pull" operation on all repositories ** ** push Run a "push" on all repositories |
︙ | ︙ |
Changes to src/checkin.c.
︙ | ︙ | |||
527 528 529 530 531 532 533 | ** checkout. You will be prompted to enter a check-in comment unless ** the comment has been specified on the command-line using "-m". ** The editor defined in the "editor" fossil option (see %fossil help set) ** will be used, or from the "VISUAL" or "EDITOR" environment variables ** (in that order) if no editor is set. ** ** You will be prompted for your GPG passphrase in order to sign the | | | 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 | ** checkout. You will be prompted to enter a check-in comment unless ** the comment has been specified on the command-line using "-m". ** The editor defined in the "editor" fossil option (see %fossil help set) ** will be used, or from the "VISUAL" or "EDITOR" environment variables ** (in that order) if no editor is set. ** ** You will be prompted for your GPG passphrase in order to sign the ** new manifest unless the "--nosign" option is used. All files that ** have changed will be committed unless some subset of files is ** specified on the command line. ** ** The --branch option followed by a branch name cases the new check-in ** to be placed in the named branch. The --bgcolor option can be followed ** by a color name (ex: '#ffc0c0') to specify the background color of ** entries in the new branch when shown in the web timeline interface. |
︙ | ︙ |
Changes to src/configure.c.
︙ | ︙ | |||
365 366 367 368 369 370 371 | blob_reset(&out); } /* ** COMMAND: configuration ** | | | 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 | blob_reset(&out); } /* ** COMMAND: configuration ** ** Usage: %fossil configure METHOD ... ?-R|--repository REPOSITORY? ** ** Where METHOD is one of: export import merge pull push reset. All methods ** accept the -R or --repository option to specific a repository. ** ** %fossil configuration export AREA FILENAME ** ** Write to FILENAME exported configuraton information for AREA. |
︙ | ︙ |
Changes to src/db.c.
︙ | ︙ | |||
1482 1483 1484 1485 1486 1487 1488 | db_finalize(&q); } /* ** COMMAND: settings ** COMMAND: unset | | | | | 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 | db_finalize(&q); } /* ** COMMAND: settings ** COMMAND: unset ** %fossil settings ?PROPERTY? ?VALUE? ?-global? ** %fossil unset PROPERTY ?-global? ** ** The "settings" command with no arguments lists all properties and their ** values. With just a property name it shows the value of that property. ** With a value argument it changes the property for the current repository. ** ** The "unset" command clears a property setting. ** ** ** auto-captcha If enabled, the Login page provides a button to ** fill in the captcha password. Default: on ** ** auto-shun If enabled, automatically pull the shunning list ** from a server to which the client autosyncs. ** ** autosync If enabled, automatically pull prior to commit ** or update and automatically push after commit or ** tag or branch creation. If the value is "pullonly" ** then only pull operations occur automatically. ** ** binary-glob The VALUE is a comma-separated list of GLOB patterns ** that should be treated as binary files for merging ** purposes. Example: *.xml ** ** clearsign When enabled, fossil will attempt to sign all commits |
︙ | ︙ |
Changes to src/finfo.c.
︙ | ︙ | |||
23 24 25 26 27 28 29 | /* ** COMMAND: finfo ** ** Usage: %fossil finfo FILENAME ** ** Print the change history for a single file. ** | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | /* ** COMMAND: finfo ** ** Usage: %fossil finfo FILENAME ** ** Print the change history for a single file. ** ** The "--limit N" and "--offset P" options limit the output to the first ** N changes after skipping P changes. */ void finfo_cmd(void){ Stmt q; int vid; Blob dest; const char *zFilename; |
︙ | ︙ |
Changes to src/makeheaders.html.
︙ | ︙ | |||
114 115 116 117 118 119 120 | <p> <ol> <p><li> In large codes with many source files, it becomes difficult to determine which .h files should be included in which .c files. <p><li> | | | 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | <p> <ol> <p><li> In large codes with many source files, it becomes difficult to determine which .h files should be included in which .c files. <p><li> It is typically the case that a .h file will be forced to include another .h files, which in turn might include other .h files, and so forth. The .c file must be recompiled when any of the .h files in this chain are altered, but it can be difficult to determine what .h files are found in the include chain. A frequent Makefile error is to omit some .h files from a dependency list even though those files are on the include file chain. |
︙ | ︙ |
Changes to src/rebuild.c.
︙ | ︙ | |||
161 162 163 164 165 166 167 | } } bag_clear(&children); rebuild_step_done(rid); } /* | | | 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | } } bag_clear(&children); rebuild_step_done(rid); } /* ** Check to see if the "sym-trunk" tag exists. If not, create it ** and attach it to the very first check-in. */ static void rebuild_tag_trunk(void){ int tagid = db_int(0, "SELECT 1 FROM tag WHERE tagname='sym-trunk'"); int rid; char *zUuid; |
︙ | ︙ |
Changes to src/undo.c.
︙ | ︙ | |||
124 125 126 127 128 129 130 | ncid = db_lget_int("undo_checkout", 0); ucid = db_lget_int("checkout", 0); db_lset_int("undo_checkout", ucid); db_lset_int("checkout", ncid); } /* | | | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | ncid = db_lget_int("undo_checkout", 0); ucid = db_lget_int("checkout", 0); db_lset_int("undo_checkout", ucid); db_lset_int("checkout", ncid); } /* ** Reset the undo memory. */ void undo_reset(void){ static const char zSql[] = @ DROP TABLE IF EXISTS undo; @ DROP TABLE IF EXISTS undo_vfile; @ DROP TABLE IF EXISTS undo_vmerge; @ DROP TABLE IF EXISTS undo_pending; |
︙ | ︙ | |||
281 282 283 284 285 286 287 | } /* ** COMMAND: redo ** ** Usage: %fossil redo ?FILENAME...? ** | | | 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 | } /* ** COMMAND: redo ** ** Usage: %fossil redo ?FILENAME...? ** ** Redo an update or merge or revert operation that has been undone ** by the undo command. If FILENAME is specified then restore the changes ** associated with the named file(s) but otherwise leave the update ** or merge undone. ** ** A single level of undo/redo is supported. The undo/redo stack ** is cleared by the commit and checkout commands. */ |
︙ | ︙ |
Changes to src/update.c.
︙ | ︙ | |||
34 35 36 37 38 39 40 | ** ** Usage: %fossil update ?VERSION? ?FILES...? ** ** Change the version of the current checkout to VERSION. Any uncommitted ** changes are retained and applied to the new checkout. ** ** The VERSION argument can be a specific version or tag or branch name. | | | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ** ** Usage: %fossil update ?VERSION? ?FILES...? ** ** Change the version of the current checkout to VERSION. Any uncommitted ** changes are retained and applied to the new checkout. ** ** The VERSION argument can be a specific version or tag or branch name. ** If the VERSION argument is omitted, then the leaf of the subtree ** that begins at the current version is used, if there is only a single ** leaf. VERSION can also be "current" to select the leaf of the current ** version or "latest" to select the most recent check-in. ** ** If one or more FILES are listed after the VERSION then only the ** named files are candidates to be updated. If FILES is omitted, all ** files in the current checkout are subject to be updated. |
︙ | ︙ | |||
333 334 335 336 337 338 339 | return errCode; } /* ** COMMAND: revert ** | | > > | 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 | return errCode; } /* ** COMMAND: revert ** ** Usage: %fossil revert ?-r REVISION? ?FILE ...? ** ** Revert to the current repository version of FILE, or to ** the version associated with baseline REVISION if the -r flag ** appears. ** ** Revert all files if no file name is provided. ** ** If a file is reverted accidently, it can be restored using ** the "fossil undo" command. */ void revert_cmd(void){ const char *zFile; const char *zRevision; |
︙ | ︙ |
Changes to www/branching.wiki.
︙ | ︙ | |||
102 103 104 105 106 107 108 | of figure 1. The check-in 4 of figure 3 captures addition state which is omitted from figure 1. Check-in 4 of figure 3 holds a copy of Bob's local checkout before he merged in Alice's changes. That snapshot of Bob's changes independent of Alice's changes is omitted from figure 1. Some people say that the approach taken in figure 3 is better because it preserves this extra intermediate state. Others say that the approach taken in figure 1 is better because it is much easier to visualize a | | | 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | of figure 1. The check-in 4 of figure 3 captures addition state which is omitted from figure 1. Check-in 4 of figure 3 holds a copy of Bob's local checkout before he merged in Alice's changes. That snapshot of Bob's changes independent of Alice's changes is omitted from figure 1. Some people say that the approach taken in figure 3 is better because it preserves this extra intermediate state. Others say that the approach taken in figure 1 is better because it is much easier to visualize a linear line of development and because the merging happens automatically instead of as a separate manual step. We will not take sides in that debate. We will simply point out that fossil enables you to do it either way. <h2>Forking Versus Branching</h2> Having more than one leaf in the check-in tree is usually considered undesirable, and so forks are usually either avoided entirely, |
︙ | ︙ |
Changes to www/fileformat.wiki.
︙ | ︙ | |||
161 162 163 164 165 166 167 | as 32-characters of lowercase hexadecimal. The checksum is computed as follows: For each file in the check-in (except for the manifest itself) in strict sorted lexicographical order, take the pathname of the file relative to the root of the repository, append a single space (ASCII 0x20), the size of the file in ASCII decimal, a single newline character (ASCII 0x0A), and the complete text of the file. | | | 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | as 32-characters of lowercase hexadecimal. The checksum is computed as follows: For each file in the check-in (except for the manifest itself) in strict sorted lexicographical order, take the pathname of the file relative to the root of the repository, append a single space (ASCII 0x20), the size of the file in ASCII decimal, a single newline character (ASCII 0x0A), and the complete text of the file. Compute the MD5 checksum of the result. A manifest might contain one or more T-cards used to set tags or properties on the check-in. The format of the T-card is the same as described in <i>Control Artifacts</i> section below, except that the second argument is the single characcter "<b>*</b>" instead of an artifact ID. The <b>*</b> in place of the artifact ID indicates that the tag or property applies to the current artifact. It is not |
︙ | ︙ |
Changes to www/newrepo.wiki.
︙ | ︙ | |||
157 158 159 160 161 162 163 | command to push your local commits to the remote repository. You must of course have authorization to commit changes (access is configured via the Admin/Users page mentioned above). You may always use the <em>server</em> or <em>ui</em> commands to browse a cloned repository. You can even edit create or wiki entries, etc., and they will be pushed to the remote side the next time you | | | 157 158 159 160 161 162 163 164 | command to push your local commits to the remote repository. You must of course have authorization to commit changes (access is configured via the Admin/Users page mentioned above). You may always use the <em>server</em> or <em>ui</em> commands to browse a cloned repository. You can even edit create or wiki entries, etc., and they will be pushed to the remote side the next time you push data to the remote. |
Changes to www/reference.wiki.
︙ | ︙ | |||
141 142 143 144 145 146 147 148 149 150 151 152 153 154 | at the next commit. <hr><a href="#tof">ˆ</a> <a name="all">Usage: </a><code><a href="cmd_all.wiki">fossil all</a></code> (list|pull|push|rebuild|sync) The ~/.fossil file records the location of all repositories for a user. This command performs certain operations on all repositories that can be useful before or after a period of disconnection operation. Available operations are: list Display the location of all repositories pull Run a "pull" operation on all repositories push Run a "push" on all repositories | > > > > | 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | at the next commit. <hr><a href="#tof">ˆ</a> <a name="all">Usage: </a><code><a href="cmd_all.wiki">fossil all</a></code> (list|pull|push|rebuild|sync) The ~/.fossil file records the location of all repositories for a user. This command performs certain operations on all repositories that can be useful before or after a period of disconnection operation. On Win32 systems, this file is located in %LOCALAPPDATA%, %APDDATA% or %HOMEPATH% and is named _fossil. Available operations are: list Display the location of all repositories pull Run a "pull" operation on all repositories push Run a "push" on all repositories |
︙ | ︙ | |||
207 208 209 210 211 212 213 | <hr><a href="#tof">ˆ</a> <a name="commit">Usage: </a><a href="cmd_commit.wiki">fossil commit</a> ?-m COMMENT? ?--nosign? ?FILE...? fossil ci ... (as above) Create a new version containing all of the changes in the current checkout. You will be prompted to enter a check-in comment unless the "-m" option is used to specify a comment line. You will be prompted for your GPG passphrase in order to sign the new manifest | | | 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | <hr><a href="#tof">ˆ</a> <a name="commit">Usage: </a><a href="cmd_commit.wiki">fossil commit</a> ?-m COMMENT? ?--nosign? ?FILE...? fossil ci ... (as above) Create a new version containing all of the changes in the current checkout. You will be prompted to enter a check-in comment unless the "-m" option is used to specify a comment line. You will be prompted for your GPG passphrase in order to sign the new manifest unless the "--nosign" option is used. All files that have changed will be committed unless some subset of files is specified on the command line. <hr><a href="#tof">ˆ</a> <a name="clean">Usage: </a><a href="cmd_clean.wiki">fossil clean</a> ?-all? Delete all "extra" files in the source tree. "Extra" files are files that are not officially part of the checkout. See also |
︙ | ︙ | |||
448 449 450 451 452 453 454 | The "ui" command automatically starts a web browser after initializing the web server. <hr><a href="#tof">ˆ</a> COMMAND: settings COMMAND: unset | | | | 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 | The "ui" command automatically starts a web browser after initializing the web server. <hr><a href="#tof">ˆ</a> COMMAND: settings COMMAND: unset <a name="settings">Usage: </a><a href="cmd_setting.wiki">fossil settings</a> ?PROPERTY? ?VALUE? ?-global? fossil unset PROPERTY ?-global? The "settings" command with no arguments lists all properties and their values. With just a property name it shows the value of that property. With a value argument it changes the property for the current repository. The "unset" command clears a property setting. autosync If enabled, automatically pull prior to commit or update and automatically push |
︙ | ︙ |
Changes to www/theory1.wiki.
︙ | ︙ | |||
72 73 74 75 76 77 78 | the unchanging bag of artifacts. The local relational database is an implementation detail which currently happens to use SQLite. Another way to think of the relational tables in a Fossil repository is as an index for the artifacts. Without the relational tables, to generate a report like a timeline would require scanning every artifact - the equivalent of a full table scan. The relational tables hold pointers | | | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | the unchanging bag of artifacts. The local relational database is an implementation detail which currently happens to use SQLite. Another way to think of the relational tables in a Fossil repository is as an index for the artifacts. Without the relational tables, to generate a report like a timeline would require scanning every artifact - the equivalent of a full table scan. The relational tables hold pointers the relevant artifacts in presorted order so that generating a timeline is much more efficient. So like an index in a relational database, the relational tables in an Fossil repository do not add any new information, they merely make the information in the artifacts faster and easier to look up. Fossil is not "based" on SQLite. Fossil simply exploits SQLite as a powerful tool to make the implementation easier. |
︙ | ︙ |