後の章でlarchのサブコマンドが具体的な例を通じて 徐々に導入されます。この章では単にあなたが学ぶであろうコマンドの大部分を 単に要約した形で示します:
自分のarch ユーザIDの設定 第5章
% larch my-id "Tom Lord <lord@emf.net>"
% larch my-id
Tom Lord <lord@emf.net>
新しいアーカイブの作成 第6章
% larch make-archive lord@emf.net--2003-example \
~/{archives}/2003-example
% larch my-default-archive lord@emf.net--2003-example
default archive set (lord@emf.net--2003-example)
% larch my-default-archive
lord@emf.net--2003-example
% larch archives
lord@emf.net--2003-example
/home/lord/{archives}/2003-example
% larch whereis-archive lord@emf.net--2003-example
/home/lord/{archives}/2003-example
新しいプロジェクトの開始 第7章
% larch make-category hello-world
% larch make-branch hello-world--mainline
% larch make-version hello-world--mainline--0.1
% larch categories
hello-world
% larch branches hello-world
hello-world--mainline
% larch versions hello-world--mainline
hello-world--mainline--0.1
新しいソースツリーの開始 第8章
% cd ~/wd/hello-world
% larch init-tree hello-world--mainline--0.1
% larch tree-root
/usr/lord/wd/hello-world
% larch tree-version
lord@emf.net--2003-example/hello-world--mainline--0.1
プロジェクトツリーの目録(Inventories) 第9章 参照。
% larch inventory --source
[....]
ソースのための目録タグ(Inventory Tags) 第10章 参照。
% larch tagging-method implicit
% larch tagging-method
implicit
最初のリビジョンのインポート 第11章
% cd ~/wd/hello-world
% larch make-log
++log.hello-world--mainline--0.1--lord@emf.net--2003-example
[edit the log message adding a summary and message body]
% larch import
[....]
% larch revisions hello-world--mainline--0.1
base-0
チェックインによる変更 第12章
% cd ~/wd/hello-world
% larch make-log
++log.hello-world--mainline--0.1--lord@emf.net--2003-example
[edit the log message adding a summary and message body]
% larch commit
[....]
% larch revisions hello-world--mainline--0.1
base-0
patch-1
% larch revisions --summary hello-world--mainline--0.1
base-0
initial import
patch-1
Fix bugs in the "hello world" string
以前のリビジョンの抽出 第13章
% larch get hello-world--mainline--0.1 hello-world
[...]
% larch get hello-world--mainline--0.1--base-0 hello-world-0
共有と公開アーカイブ 第14章
HTTP と WebDAV のアーカイブ:
% larch register-archive lord@emf.net--2003 \
http://regexps.srparish.net/{archives}/lord@emf.net--2003
FTP アーカイブ:
% larch register-archive lord@regexps.com--2002 \
ftp://ftp.regexps.com/{archives}/lord@regexps.com--2002
アップデートとコミットのスタイル: 第15章
% larch whats-missing
patch-2
% larch whats-missing --summary
patch-2
commented return from main
% larch cat-archive-log hello-world--mainline--0.1--patch-2
% larch mkpatch ORIGINAL MODIFIED DESTINATION
% larch dopatch PATCH-SET TREE
% larch get-patch hello-world--mainline--0.1--patch-1 patch-1
% larch patch-report --diffs patch-1
replay コマンド 第18章
% larch replay --in-place .
選択されたファイルのコミット ???
% larch commit --files -- file-a.c file-b.c
ブランチの初歩 第20章
% larch tag \
lord@emf.net--2003-example/hello-world--mainline--0.1--patch-1 \
hello-world--candice--0.1
% larch archive-cache-revision hello-world--candice--0.1--base-0
% larch archive-cached-revisions hello-world--candice--0.1
% larch log-for-merge