~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to push.py

  • Committer: Aaron Bentley
  • Date: 2005-10-18 20:17:59 UTC
  • Revision ID: abentley@panoramicfeedback.com-20051018201759-a5dfcbed504c3d22
Adopted Branch.open_containing's new format

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    takes_options = ['overwrite']
37
37
 
38
38
    def run(self, location=None, overwrite=False):
39
 
        cur_branch = Branch.open_containing(".")
 
39
        cur_branch = Branch.open_containing(".")[0]
40
40
        bzrtools.push(cur_branch, location, overwrite=overwrite)