~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2005-05-17 07:01:47 UTC
  • Revision ID: mbp@sourcefrog.net-20050517070147-c38da17418ea6711
- Add patch to give symlink support

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh -e
2
2
 
3
 
# Take a file that is versioned by bzr and
4
 
# add it to baz with the same file-id.
 
3
# Add a file that's version by bzr to baz with the same file-id
5
4
 
6
5
if [ $# -ne 1 ]
7
6
then
9
8
    exit 1
10
9
fi
11
10
 
12
 
baz add -i "$( bzr file-id "$1" )" "$1"
 
11
baz add -i $( bzr file-id $1 ) $1
13
12