~bzr-pqm/bzr/bzr.dev

1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh -e

# Add a file that's version by bzr to baz with the same file-id

if [ $# -ne 1 ]
then
    echo "usage: $0 FILE" >&2
    exit 1
fi

baz add -i $( bzr file-id $1 ) $1