~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/zsh/_bzr

  • Committer: Robert Collins
  • Date: 2005-10-18 23:47:12 UTC
  • mfrom: (0.2.1)
  • Revision ID: robertc@robertcollins.net-20051018234712-45a83974f691c860
Bugfix the new pull --clobber to not generate spurious conflicts.

When --clobber clobbered the history, a bad merge base was used.

Supporting this:
* merge.merge_inner now has tempdir as an optional parameter. (Robert Collins)

* Tree.kind is not recorded at the top level of the hierarchy, as it was
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
  (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# how to get zsh to reload this file when it changes, other than by
10
10
# starting a new zsh.
11
11
 
12
 
# This is not very useful at the moment because it only completes on
13
 
# commands and breaks filename expansion for other arguments.
14
 
 
15
 
 
16
 
_arguments -S "1::bzr command:($(bzr help commands | grep -v '^   '))"
17
 
 
18
 
 
19
 
# Local variables:
20
 
# mode: shell-script
21
 
# End:
 
12
local _bzr_subcommands expl curcontext="$curcontext"
 
13
 
 
14
_bzr_subcommands=(${(f)"$(_call_program bzr bzr shell-complete)"})
 
15
 
 
16
if (( CURRENT == 2 )); then
 
17
  _describe -t subcommand 'subcommand' _bzr_subcommands
 
18
else
 
19
# this part missing
 
20
fi