fossil-scripts
2016-08-30
1) fossil-cat <commit> [<fname>]
- Write the contents of the file associated with a particular
commit to stdout. As a convenience, if <fname> is not
specified, the commit is passed directly to "fossil artifact".
2) fossil-clear-passwords
- Clear the cached passwords for all repositories by iterating
over the output of "fossil all list".
3) fossil-close-leaf <commit>
- Close a leaf.
4) fossil-current
- Prints the SHA-1 hash value for the current commit.
5) fossil-flatten
- Generic script for flattening the log messages. It works by
through a pipe:
alias ff="fossil-flatten"
fossil leaves | ff
- With all the scripts that flatten the log messages, a pager
like the following should be used inside a window wider than
80 columns:
export PAGER="less -i -S -M -F"
6) fossil-forget
- Have fossil forget the remote password without forgetting the
remote URL. To forget both just use "fossil remote off"
instead.
7) fossil-help-all
- Print the help for all commands listed in "fossil help".
8) fossil-log [<commit1> [<commit2>]]
- Limit the log to display just the commits between <commit1> and
<commit2> (inclusive). If <commit1> is not an ancestor of
<commit2>, nothing is printed. If <commit2> is not specified,
it displays the commits starting with <commit1>. If <commit1>
is not specified, it displays the commits starting with the
current commit. This script also flattens the log messages so
each is on a single line. This script also displays the time
using local time instead of UTC.
9) fossil-ls-tree [<commit>]
- List the SHA-1 and file name for each file in <commit>. If
<commit> is not specified, the current commit is used.
10) fossil-pending [<commit>]
- Show the commits that are pending. This is typically used
immediately after running "fossil pull". It lets you review the
pending commits that will be applied to your branch by "fossil
update". This is a wrapper around "fossil timeline
descendants". In addition to flattening the log messages, it
also filters out descendants that are on a different branch.
This script also displays the time using local time instead of
UTC.
11) fossil-status
- Show the combined output of the following commands with a little
bit of interpretation along the way:
fossil changes
fossil extras --dotfiles
12) fossil-timeline ...
- Simple wrapper around "fossil timeline". The main thing it does
is flatten the log messages so each is on a single line making
it easier to read if you have a sane pager. This script also
displays the time using local time instead of UTC.