~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-03-09 22:22:50 UTC
  • mfrom: (1558.4.4 Aaron's integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060309222250-8bc4180b1ba28f13
small fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1952
1952
        tree, file_list = tree_files(file_list)
1953
1953
        if revision is None:
1954
1954
            # FIXME should be tree.last_revision
1955
 
            rev_id = tree.branch.last_revision()
 
1955
            rev_id = tree.last_revision()
1956
1956
        elif len(revision) != 1:
1957
1957
            raise BzrCommandError('bzr revert --revision takes exactly 1 argument')
1958
1958
        else: