~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to push.py

  • Committer: Aaron Bentley
  • Date: 2006-02-23 17:17:09 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060223171709-a3c800b4a4793dc8
Updated to match new run_argv signature

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        bzrtools.push(cur_branch, location, overwrite=overwrite, 
43
43
                      working_tree=not no_tree)
44
44
        
45
 
    def run_argv(self, argv):
 
45
    def run_argv(self, argv, alias_argv):
46
46
        """Parse command line and run.
47
47
        
48
48
        If the command requests it, run the decorated version.
49
49
        """
50
50
        try:
51
 
            super(cmd_push, self).run_argv(list(argv))
 
51
            super(cmd_push, self).run_argv(list(argv), alias_argv)
52
52
        except (MustUseDecorated, BzrOptionError):
53
53
            if self._original_command is None:
54
54
                raise
55
 
            self._original_command().run_argv(argv)
 
55
            self._original_command().run_argv(argv, alias_argv)