~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-02-27 22:08:46 UTC
  • mfrom: (2227.4.1 bzr.78026)
  • Revision ID: pqm@pqm.ubuntu.com-20070227220846-8cce3b2986915092
CapitalizeĀ rocksĀ output

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: