2
## Copyright (C) 2004 Jan Hudec
4
## See the file "COPYING" for further information about
5
## the copyright and warranty status of this work.
10
options="dir|d=f style|s=s help|h=f H=f"
13
if test -n "$style" -a \! -r "$HOME/.arch-params/=$style"; then
14
echo "* Unknown style: $style ($HOME/.arch-params/=$style does not exist" >&2
18
echo "* Initialising the tree"
19
tla init-tree "$@" || exit $?
20
style=${style:-method}
21
if [ -r "$HOME/.arch-params/=tagging-$style" ]; then
22
echo "* Installing $HOME/.arch-params/=tagging-$style as id-tagging-method"
23
cp "$HOME/.arch-params/=tagging-$style" "{arch}/=tagging-method"
28
aba_omit_last 1 tla init-tree -h
30
-s, --style ST use =tagging-ST as template for tagging method.
37
Initialize DIR as a new project tree.
39
An empty patch-log for VERSION will be created, and VERSION
40
will be made the default location for check-ins.
42
~/.arch-params/=tagging-method will be used as default
43
id-tagging-method, if it exists.
53
# arch-tag: 18166a7a-df84-4540-afe3-4f467f2fbb86