Fossil SCM
Applied rouilj's tricks from the forum to the new "What Changed?" section of gitusers.md.
Commit
2b274922996c76cc724b54dcb2f15c280abb54dec35c1af4dde96b656bc02b7c
Parent
d1ebc8ef061d023…
1 file changed
+12
-2
+12
-2
| --- www/gitusers.md | ||
| +++ www/gitusers.md | ||
| @@ -599,23 +599,33 @@ | ||
| 599 | 599 | git whatchanged ..@{u} |
| 600 | 600 | |
| 601 | 601 | …which you can approximate in Fossil as: |
| 602 | 602 | |
| 603 | 603 | fossil pull |
| 604 | + fossil up -n | |
| 604 | 605 | fossil diff --from tip |
| 605 | 606 | |
| 606 | -…plus… | |
| 607 | +Instead of the “dry run” form of [the “`update` command][up], you can | |
| 608 | +say: | |
| 607 | 609 | |
| 608 | 610 | fossil timeline after current |
| 611 | + | |
| 612 | +…or if you want to restrict the output to the current branch: | |
| 613 | + | |
| 614 | + fossil timeline descendants current | |
| 609 | 615 | |
| 610 | 616 | Note the use of [human-readable symbolic version names][scin] rather than |
| 611 | 617 | cryptic notations. (But if you like brief commands, you can abbreviate |
| 612 | -it as `fossil tim after curr`.) | |
| 618 | +the last one as `fossil tim desc curr`.) You might need to add `-n 0` to | |
| 619 | +these commands to bypass the default limit on `timeline` output, 20 | |
| 620 | +entries. | |
| 613 | 621 | |
| 614 | 622 | To invert the direction of the `diff` command above, say instead: |
| 615 | 623 | |
| 616 | 624 | fossil diff --from current --to tip |
| 625 | + | |
| 626 | +[up]: /help?cmd=update | |
| 617 | 627 | |
| 618 | 628 | |
| 619 | 629 | <a id="btnames"></a> |
| 620 | 630 | ## Branch And Tag Names |
| 621 | 631 | |
| 622 | 632 |
| --- www/gitusers.md | |
| +++ www/gitusers.md | |
| @@ -599,23 +599,33 @@ | |
| 599 | git whatchanged ..@{u} |
| 600 | |
| 601 | …which you can approximate in Fossil as: |
| 602 | |
| 603 | fossil pull |
| 604 | fossil diff --from tip |
| 605 | |
| 606 | …plus… |
| 607 | |
| 608 | fossil timeline after current |
| 609 | |
| 610 | Note the use of [human-readable symbolic version names][scin] rather than |
| 611 | cryptic notations. (But if you like brief commands, you can abbreviate |
| 612 | it as `fossil tim after curr`.) |
| 613 | |
| 614 | To invert the direction of the `diff` command above, say instead: |
| 615 | |
| 616 | fossil diff --from current --to tip |
| 617 | |
| 618 | |
| 619 | <a id="btnames"></a> |
| 620 | ## Branch And Tag Names |
| 621 | |
| 622 |
| --- www/gitusers.md | |
| +++ www/gitusers.md | |
| @@ -599,23 +599,33 @@ | |
| 599 | git whatchanged ..@{u} |
| 600 | |
| 601 | …which you can approximate in Fossil as: |
| 602 | |
| 603 | fossil pull |
| 604 | fossil up -n |
| 605 | fossil diff --from tip |
| 606 | |
| 607 | Instead of the “dry run” form of [the “`update` command][up], you can |
| 608 | say: |
| 609 | |
| 610 | fossil timeline after current |
| 611 | |
| 612 | …or if you want to restrict the output to the current branch: |
| 613 | |
| 614 | fossil timeline descendants current |
| 615 | |
| 616 | Note the use of [human-readable symbolic version names][scin] rather than |
| 617 | cryptic notations. (But if you like brief commands, you can abbreviate |
| 618 | the last one as `fossil tim desc curr`.) You might need to add `-n 0` to |
| 619 | these commands to bypass the default limit on `timeline` output, 20 |
| 620 | entries. |
| 621 | |
| 622 | To invert the direction of the `diff` command above, say instead: |
| 623 | |
| 624 | fossil diff --from current --to tip |
| 625 | |
| 626 | [up]: /help?cmd=update |
| 627 | |
| 628 | |
| 629 | <a id="btnames"></a> |
| 630 | ## Branch And Tag Names |
| 631 | |
| 632 |