/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
446
446
def ensure_null(revision_id):
447
447
    """Ensure only NULL_REVISION is used to represent the null revisionn"""
448
448
    if revision_id is None:
 
449
        symbol_versioning.warn('NULL_REVISION should be used for the null'
 
450
            ' revision instead of None, as of bzr 0.91.',
 
451
            DeprecationWarning, stacklevel=2)
449
452
        return NULL_REVISION
450
453
    else:
451
454
        return revision_id