/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 breezy/plugins/propose/propose.py

  • Committer: Jelmer Vernooij
  • Date: 2019-01-03 00:18:35 UTC
  • mfrom: (0.431.66 trunk)
  • mto: This revision was merged to the branch mainline in revision 7239.
  • Revision ID: jelmer@jelmer.uk-20190103001835-j9hdqbz70tp2ks84
Merge support for merge proposal status.

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
        raise NotImplementedError(cls.probe)
221
221
 
222
222
    # TODO(jelmer): Some way of cleaning up old branch proposals/branches
223
 
    # TODO(jelmer): Some way of checking up on outstanding merge proposals
224
223
 
225
 
    def iter_my_proposals(self):
 
224
    def iter_my_proposals(self, status='open'):
226
225
        """Iterate over the proposals created by the currently logged in user.
227
226
 
 
227
        :param status: Only yield proposals with this status
 
228
            (one of: 'open', 'closed', 'merged', 'all')
228
229
        :return: Iterator over MergeProposal objects
229
230
        """
230
231
        raise NotImplementedError(self.iter_my_proposals)