~bzr-pqm/bzr/bzr.dev

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

# Take a file that is versioned by bzr and
# add it to baz with the same file-id.

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

for f
do
    baz add -i "$( bzr file-id "$f" )" "$f"
done