~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: John Arbash Meinel
  • Date: 2008-07-16 16:54:06 UTC
  • mto: This revision was merged to the branch mainline in revision 3543.
  • Revision ID: john@arbash-meinel.com-20080716165406-3ctahm7c3fafi3qy
Review feedback from Ian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3556
3556
            testament_class = StrictTestament
3557
3557
        else:
3558
3558
            testament_class = Testament
3559
 
        b = WorkingTree.open_containing(branch)[0].branch
 
3559
        if branch == '.':
 
3560
            b = Branch.open_containing(branch)[0]
 
3561
        else:
 
3562
            b = Branch.open(branch)
3560
3563
        b.lock_read()
3561
3564
        try:
3562
3565
            if revision is None: