Commit fec5e870 authored by sven.panne@aedion.de's avatar sven.panne@aedion.de

Make './darcs-all get --complete' work

parent b5deeb0f
......@@ -48,8 +48,11 @@ darcsall()
darcsget()
{
case $* in
*--partial*) ;;
*) echo "warning: adding --partial, to override use --complete"
*--complete*|*--partial*)
additional_flag="" ;;
*)
echo "warning: adding --partial, to override use --complete"
additional_flag="--partial" ;;
esac
cd libraries
......@@ -65,8 +68,8 @@ darcsget()
echo "warning: $pkg already present; omitting"
else
repo=$defaultrepo_lib/$pkg
message "== running darcs get --partial $* $repo"
darcs get --partial $* $repo
message "== running darcs get $additional_flag $* $repo"
darcs get $additional_flag $* $repo
fi
done
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment