/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to contrib/add-bzr-to-baz

  • Committer: Jelmer Vernooij
  • Date: 2011-03-13 00:09:12 UTC
  • mfrom: (5718.2.2 no-weave-import)
  • mto: This revision was merged to the branch mainline in revision 5722.
  • Revision ID: jelmer@samba.org-20110313000912-o1bz1o2rcy40e9yj
merge no weave import branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
2
 
 
3
 
# Take a file that is versioned by bzr and
4
 
# add it to baz with the same file-id.
5
 
 
6
 
if [ $# -lt 1 ]
7
 
then
8
 
    echo "usage: $0 FILE" >&2
9
 
    exit 1
10
 
fi
11
 
 
12
 
for f
13
 
do
14
 
    baz add -i "$( bzr file-id "$f" )" "$f"
15
 
done
16