Sophie

Sophie

distrib > Mandriva > 2010.0 > x86_64 > by-pkgid > db7a42361fc52f1236a61b01ceee68a3 > files > 1496

bzr-2.0.1-1mdv2010.0.x86_64.rpm

#! /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