LocutusOfBorg, I myself created cron script (for lp:qutim) with the following contents:
#!/bin/bash
cd /path/to/qutim-replica
git pull origin master
git submodule update --init --recursive
bzr stat -S|grep ^?|sed 's/^? //'| while read LINE; do bzr add "$LINE"; done
bzr ci -m "Cron update"
bzr push
LocutusOfBorg, I myself created cron script (for lp:qutim) with the following contents: qutim-replica
#!/bin/bash
cd /path/to/
git pull origin master
git submodule update --init --recursive
bzr stat -S|grep ^?|sed 's/^? //'| while read LINE; do bzr add "$LINE"; done
bzr ci -m "Cron update"
bzr push
You also have to add ..git* to your .bzrignore.