~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2011-10-13 14:09:11 UTC
  • mfrom: (6207.2.1 colo-fixes)
  • Revision ID: pqm@pqm.ubuntu.com-20111013140911-c2zv6a9pux62xnr9
(jelmer) Add support for cloning into a colocated branch. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
2
 
 
3
 
# Add a file that's version by bzr to baz with the same file-id
4
 
 
5
 
if [ $# -ne 1 ]
6
 
then
7
 
    echo "usage: $0 FILE" >&2
8
 
    exit 1
9
 
fi
10
 
 
11
 
baz add -i $( bzr file-id $1 ) $1
12