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

  • Committer: Jelmer Vernooij
  • Date: 2019-01-02 20:22:45 UTC
  • mfrom: (0.431.63 trunk)
  • mto: This revision was merged to the branch mainline in revision 7239.
  • Revision ID: jelmer@jelmer.uk-20190102202245-i317zf85xj5i94j6
Merge support for 'brz my-proposals'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
300
300
            gl = Gitlab(url=url, private_token=private_token)
301
301
            gl.auth()
302
302
        store_gitlab_token(name=name, url=url, private_token=private_token)
 
303
 
 
304
 
 
305
class cmd_my_merge_proposals(Command):
 
306
    __doc__ = """List my merge proposals.
 
307
 
 
308
    """
 
309
 
 
310
    def run(self):
 
311
        from .propose import hosters
 
312
        for name, hoster_cls in hosters.items():
 
313
            for instance in hoster_cls.iter_instances():
 
314
                for mp in instance.iter_my_proposals():
 
315
                    print(mp.url)