~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to push.py

  • Committer: Aaron Bentley
  • Date: 2005-12-12 17:47:28 UTC
  • mfrom: (296.1.4 bzrtools)
  • Revision ID: abentley@panoramicfeedback.com-20051212174728-982962afa21ee7f8
Applied typo fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    _original_command = None
34
34
    takes_args = ['location?']
35
35
    takes_options = [Option('overwrite', help='Ignore differences between'
36
 
                            ' branches and overwrite unconditionally'),
37
 
                     Option('no-tree', help='Do not push the working tree,'
38
 
                            ' just the .bzr.')]
 
36
                            ' branches and overwrite unconditionally')]
39
37
 
40
 
    def run(self, location=None, overwrite=False, no_tree=False):
 
38
    def run(self, location=None, overwrite=False):
41
39
        cur_branch = Branch.open_containing(".")[0]
42
 
        bzrtools.push(cur_branch, location, overwrite=overwrite, 
43
 
                      working_tree=not no_tree)
 
40
        bzrtools.push(cur_branch, location, overwrite=overwrite)
44
41
        
45
42
    def run_argv(self, argv):
46
43
        """Parse command line and run.