X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=dcp-init;h=262a2bbd86349c4f6e5f6e801951930cc0660187;hb=078110f603005fe613307254dfbc317f0d0b1b40;hp=3babd452964a0220e92acf81c9a3368cb2c70be3;hpb=6a6fbc9a98092cc69d0685de4d806c2c9e185ef1;p=dcp.git diff --git a/dcp-init b/dcp-init index 3babd45..262a2bb 100755 --- a/dcp-init +++ b/dcp-init @@ -3,10 +3,11 @@ set -e usage() { - echo "usage: dcp-init [-sh] [-C key=val] [-d REPODIR] PACKAGE [PATCH...]" + echo "usage: dcp-init [-sh] [-C key=val] [-d REPODIR] PACKAGE [(PATCH|-m)...]" echo " PATCH ::= [-p LEVEL] [-bB BRANCH] FILE" echo " -b creates a new branch at the current patch" echo " -B creates a new branch at the upstream sources" + echo " -m merges the current branch into the master branch" } rungit() { @@ -42,7 +43,7 @@ getaptsrc() { } initrepo() { - rungit init -q --shared + rungit init mkdir "$td/control" touch "$td/control/conf" rungit add control @@ -55,10 +56,10 @@ initbase() { mkdir "$td/control/update.d" cat >"$td/control/functions" <&2 exit 1