[Pkg-bazaar-commits] ./bzr/unstable r347: - add-bzr-to-baz utility script

Martin Pool mbp at sourcefrog.net
Fri Apr 10 07:52:00 UTC 2009


------------------------------------------------------------
revno: 347
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Thu 2005-05-05 12:43:47 +1000
message:
  - add-bzr-to-baz utility script
added:
  contrib/add-bzr-to-baz
-------------- next part --------------
=== added file 'contrib/add-bzr-to-baz'
--- a/contrib/add-bzr-to-baz	1970-01-01 00:00:00 +0000
+++ b/contrib/add-bzr-to-baz	2005-05-05 02:43:47 +0000
@@ -0,0 +1,12 @@
+#! /bin/sh -e
+
+# Add a file that's version by bzr 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
+



More information about the Pkg-bazaar-commits mailing list