~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.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:
96
96
    def run(self, filename=None, strip=0):
97
97
        from patch import patch
98
98
        from bzrlib.branch import Branch
99
 
        b = Branch.open_containing('.')
 
99
        b = Branch.open_containing('.')[0]
100
100
        return patch(b, filename, strip)
101
101
 
102
102