~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Lalo Martins
  • Date: 2005-09-09 11:37:44 UTC
  • mto: (1185.1.22)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: lalo@exoweb.net-20050909113744-22f870db25a9e5f5
getting rid of everything that calls the Branch constructor directly

Show diffs side-by-side

added added

removed removed

Lines of Context:
509
509
    """
510
510
    def run(self):
511
511
        from bzrlib.branch import Branch
512
 
        Branch('.', init=True)
 
512
        Branch.initialize('.')
513
513
 
514
514
 
515
515
class cmd_diff(Command):
1235
1235
              backup_files=not no_backup,
1236
1236
              file_list=file_list)
1237
1237
        if not file_list:
1238
 
            Branch('.').set_pending_merges([])
 
1238
            Branch.open_containing('.').set_pending_merges([])
1239
1239
 
1240
1240
 
1241
1241
class cmd_assert_fail(Command):