~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/__init__.py

fixme note for bzr status

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    from bzrlib.branch import Branch
48
48
    
49
49
    try:
50
 
        import os
51
 
        branch = Branch(os.path.dirname(__path__[0]))
 
50
        branch = Branch(__path__[0])
52
51
        rh = branch.revision_history()
53
52
        if rh:
54
53
            return len(rh), rh[-1]