~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Robert Collins
  • Date: 2007-08-15 01:26:30 UTC
  • mfrom: (2698 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2741.
  • Revision ID: robertc@robertcollins.net-20070815012630-xqjtm5z2c4718n8s
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
500
500
def is_null(revision_id):
501
501
    if revision_id is None:
502
502
        symbol_versioning.warn('NULL_REVISION should be used for the null'
503
 
            ' revision instead of None, as of bzr 0.19.',
 
503
            ' revision instead of None, as of bzr 0.90.',
504
504
            DeprecationWarning, stacklevel=2)
505
505
    return revision_id in (None, NULL_REVISION)