~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2005-10-24 04:59:56 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20051024045956-a6b714339c805e75
Made push self-disable when bzr has a builtin push

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
 
102
102
 
103
103
 
104
 
commands = [push.cmd_push, shelf.cmd_shelve, 
105
 
            shelf.cmd_unshelve, cmd_clean_tree, cmd_graph_ancestry,
106
 
            cmd_fetch_ghosts, cmd_patch]
 
104
commands = [shelf.cmd_shelve, shelf.cmd_unshelve, cmd_clean_tree,
 
105
            cmd_graph_ancestry, cmd_fetch_ghosts, cmd_patch]
107
106
 
108
107
import bzrlib.builtins
109
108
if not hasattr(bzrlib.builtins, "cmd_annotate"):
110
109
    commands.append(annotate.cmd_annotate)
 
110
if not hasattr(bzrlib.builtins, "cmd_push"):
 
111
    commands.append(push.cmd_push)
111
112
 
112
113
from errors import NoPyBaz
113
114
try: