~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/__init__.py

  • Committer: Robert Collins
  • Date: 2006-01-05 11:43:50 UTC
  • mto: (1534.1.2 integration)
  • mto: This revision was merged to the branch mainline in revision 1536.
  • Revision ID: robertc@robertcollins.net-20060105114350-e21c40532770563e
decorate docstrings in deprecated functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
version_info = (0, 7, 0, 'pre', 0)
95
95
 
96
96
 
 
97
from bzrlib.symbol_versioning import deprecated_function, zero_seven
 
98
 
 
99
@deprecated_function(zero_seven)
97
100
def get_bzr_revision():
98
 
    """If bzr is run from a branch, return (revno,revid) or None
99
 
 
100
 
    deprecated in bzr 0.7
101
 
    """
 
101
    """If bzr is run from a branch, return (revno,revid) or None."""
102
102
    import bzrlib.errors
103
103
    from bzrlib.branch import Branch
104
104