~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: John Arbash Meinel
  • Date: 2005-09-23 18:12:27 UTC
  • mto: (1185.31.24 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1512.
  • Revision ID: john@arbash-meinel.com-20050923181227-bbc42f66c1dc197b
Updated to not use find_branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
    def run(self, location=None, remove=False,
28
28
            dry_run=False, verbose=False):
29
 
        from bzrlib.branch import find_branch
 
29
        from bzrlib.branch import Branch
30
30
        from bzrlib.log import log_formatter
31
31
        import uncommit, sys
32
32
 
33
33
        if location is None:
34
34
            location = '.'
35
 
        b = find_branch(location)
 
35
        b = Branch.open_containing(location)
36
36
 
37
37
        revno = b.revno()
38
38
        rev_id = b.last_patch()