/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 __init__.py

  • Committer: Daniel Watkins
  • Date: 2008-03-06 18:30:56 UTC
  • mto: (0.57.1 ob-integration)
  • mto: This revision was merged to the branch mainline in revision 6630.
  • Revision ID: d.m.watkins@warwick.ac.uk-20080306183056-n1qkcdee2gpqha9x
Fixed use of deprecated Repository.get_parents interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        "Return the IDs of the current revision's predecessors."
59
59
        repo = self._bzrbranch.repository
60
60
        repo.lock_read()
61
 
        retval = repo.get_parents([self._revid])[0]
 
61
        retval = repo.get_parent_map([self._revid]).get(self._revid, None)
62
62
        repo.unlock()
63
63
        return retval
64
64