~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Aaron Bentley
  • Date: 2007-02-07 03:09:58 UTC
  • mfrom: (2268 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2269.
  • Revision ID: aaron.bentley@utoronto.ca-20070207030958-fx6ykp7rg7zma6xu
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
326
326
                return RevisionInfo(branch, None, revisions[0][1])
327
327
        else:
328
328
            if revno < 0:
 
329
                # if get_rev_id supported negative revnos, there would not be a
 
330
                # need for this special case.
329
331
                if (-revno) >= len(revs):
330
332
                    revno = 1
331
333
                else: