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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-02-14 02:47:23 UTC
  • mfrom: (7268.2.1 github-open-closed)
  • Revision ID: breezy.the.bot@gmail.com-20190214024723-l93eh3ehmwqu21qg
Don't include open unmerged pull requests in 'closed'.

Merged from https://code.launchpad.net/~jelmer/brz/github-open-closed/+merge/363175

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
        if status == 'open':
275
275
            query.append('is:open')
276
276
        elif status == 'closed':
277
 
            # Note that we don't use is:closed here, since that also includes
278
 
            # merged pull requests.
279
277
            query.append('is:unmerged')
 
278
            # Also use "is:closed" otherwise unmerged open pull requests are
 
279
            # also included.
 
280
            query.append('is:closed')
280
281
        elif status == 'merged':
281
282
            query.append('is:merged')
282
283
        query.append('author:%s' % self.gh.get_user().login)