/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-06 23:38:33 UTC
  • mfrom: (6463 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6464.
  • Revision ID: jelmer@samba.org-20120206233833-w0nbclw7d1xj4twj
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6453
6453
    def run(self, location=None):
6454
6454
        if location is None:
6455
6455
            location = "."
6456
 
        branch = Branch.open_containing(location)[0]
6457
 
        branch.bzrdir.destroy_branch()
 
6456
        cdir = controldir.ControlDir.open_containing(location)[0]
 
6457
        cdir.destroy_branch()
6458
6458
 
6459
6459
 
6460
6460
class cmd_shelve(Command):