~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to fai/aba/commands/branch-this

  • Committer: Robert Collins
  • Date: 2005-09-14 11:27:20 UTC
  • mto: (147.2.6) (364.1.3 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: robertc@robertcollins.net-20050914112720-c66a21de86eafa6e
trim fai cribbage

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
# Copyright (C) 2004 Aaron Bentley
3
 
#
4
 
# See the file "COPYING" for further information about
5
 
# the copyright and warranty status of this work.
6
 
 
7
 
. "$abadir/aba-lib"
8
 
cmd_exec()
9
 
{
10
 
  aba_tag_this $1 
11
 
  tla sync-tree $1--base-0
12
 
  tla set-tree-version $1
13
 
}
14
 
cmd_desc()
15
 
{
16
 
  echo '                 branch-this : branches the current tree to a new tag'
17
 
}
18
 
cmd_help()
19
 
{
20
 
  echo "This creates a new tag from the current tree, then sets the current tree to"
21
 
  echo "that tag.  No options are available."
22
 
}
23
 
cmd_ext_help()
24
 
{
25
 
echo -n
26
 
}
27
 
aba_run "$@"
28
 
# arch-tag: branch-this by Aaron Bentley (11:40 Jan 28, 2004)