307
307
lite_sync $DATA_B2 $DATA
310
make_hints_branch () {
312
bzr pull -q -d "$2" --remember --overwrite "$1"
310
318
if option hints_bzr; then
312
320
if [ "$DISTRIBUTION" = ubuntu ]; then
313
if [ -d $DATA_B2/$SERIES-proposed/Hints ]; then
314
bzr pull -q -d $DATA_B2/$SERIES-proposed/Hints
315
elif [ "$SERIES" = "$DEFAULT_SERIES" ]; then
316
bzr branch lp:~ubuntu-release/britney/hints-ubuntu $DATA_B2/$SERIES-proposed/Hints
321
if [ "$SERIES" = "$DEFAULT_SERIES" ]; then
322
branch="lp:~ubuntu-release/britney/hints-ubuntu"
318
bzr branch lp:~ubuntu-sru/britney/hints-ubuntu-$SERIES $DATA_B2/$SERIES-proposed/Hints
324
branch="lp:~ubuntu-sru/britney/hints-ubuntu-$SERIES"
320
if [ -d $DATA_B2/$SERIES-proposed/Hints/ubuntu-touch ]; then
321
bzr pull -q -d $DATA_B2/$SERIES-proposed/Hints/ubuntu-touch
322
elif [ "$SERIES" = "$DEFAULT_SERIES" ]; then
323
bzr branch lp:~ubuntu-touch-release/britney/hints-ubuntu-touch $DATA_B2/$SERIES-proposed/Hints/ubuntu-touch
326
make_hints_branch "$DATA_B2/$SERIES-proposed/Hints" "$branch"
327
if [ "$SERIES" = "$DEFAULT_SERIES" ]; then
329
"$DATA_B2/$SERIES-proposed/Hints/ubuntu-touch" \
330
"lp:~ubuntu-touch-release/britney/hints-ubuntu-touch"
332
rm -rf "$DATA_B2/$SERIES-proposed/Hints/ubuntu-touch"
325
334
elif [ "$DISTRIBUTION" = ubuntu-rtm ]; then
326
if [ -d $DATA_B2/$SERIES-proposed/Hints ]; then
327
bzr pull -q -d $DATA_B2/$SERIES-proposed/Hints
329
bzr branch lp:~ubuntu-release/britney/hints-ubuntu-rtm $DATA_B2/$SERIES-proposed/Hints
336
"$DATA_B2/$SERIES-proposed/Hints" \
337
lp:~ubuntu-release/britney/hints-ubuntu-rtm
332
# TODO do something for RTM