~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/status.py

  • Committer: Robey Pointer
  • Date: 2006-01-12 09:03:06 UTC
  • mto: (1185.50.69 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robey@master-shake.local-20060112090306-c25120c9586b2067
make 'log' and 'status' treat '-r N..' as implicitly '-r N..-1'

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
                old = branch.revision_tree(rev_id)
75
75
            except NoSuchRevision, e:
76
76
                raise BzrCommandError(str(e))
77
 
            if len(revision) > 1:
 
77
            if (len(revision) > 1) and (revision[1].spec is not None):
78
78
                try:
79
79
                    rev_id = revision[1].in_history(branch).rev_id
80
80
                    new = branch.revision_tree(rev_id)