~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/bash

# This script checks each of your branches in ~/canonical/lp-branches/ to
# see which ones have revisions that have not yet landed in trunk.

cd ~/canonical/lp-branches
for branch in *; do
  if [ ${branch} != "trunk" ] && test -d ${branch} ; then
    echo "Examining ${branch}"
    cd ${branch}
    bzr status --short
    cd ../trunk
    bzr missing --theirs-only --line ../${branch} | grep -v "^You are missing"
    cd ..
  fi;
done;