~bzr-pqm/bzr/bzr.dev

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

# Take a file that is versioned by bzr and
# add it 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"