~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2005-09-19 02:44:11 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20050919024411-8bb9efa8c13c7c44
Updated to match API changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
    def run(self, filename=None, strip=0):
76
76
        from patch import patch
77
77
        from bzrlib.branch import Branch
78
 
        b = Branch('.', find_root=True)
 
78
        b = Branch.open_containing('.')
79
79
        return patch(b, filename, strip)
80
80
 
81
81