~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Andrew Bennetts
  • Date: 2007-08-30 08:11:54 UTC
  • mfrom: (2766 +trunk)
  • mto: (2535.3.55 repo-refactor)
  • mto: This revision was merged to the branch mainline in revision 2772.
  • Revision ID: andrew.bennetts@canonical.com-20070830081154-16hebp2xwr15x2hc
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
458
458
            rev = branch.repository.get_revision(r.rev_id)
459
459
            if not rev.parent_ids:
460
460
                revno = 0
461
 
                revision_id = None
 
461
                revision_id = revision.NULL_REVISION
462
462
            else:
463
463
                revision_id = rev.parent_ids[0]
464
464
                try: