hgext/patchbomb.py
changeset 48128 5ced12cfa41b
parent 47882 ff2304dd3ba9
child 48966 6000f5b25c9b
equal deleted inserted replaced
48127:b067d22dc6ad 48128:5ced12cfa41b
    89     commands,
    89     commands,
    90     encoding,
    90     encoding,
    91     error,
    91     error,
    92     formatter,
    92     formatter,
    93     hg,
    93     hg,
       
    94     logcmdutil,
    94     mail,
    95     mail,
    95     patch,
    96     patch,
    96     pycompat,
    97     pycompat,
    97     registrar,
    98     registrar,
    98     scmutil,
    99     scmutil,
   810     elif bookmark:
   811     elif bookmark:
   811         if bookmark not in repo._bookmarks:
   812         if bookmark not in repo._bookmarks:
   812             raise error.Abort(_(b"bookmark '%s' not found") % bookmark)
   813             raise error.Abort(_(b"bookmark '%s' not found") % bookmark)
   813         revs = scmutil.bookmarkrevs(repo, bookmark)
   814         revs = scmutil.bookmarkrevs(repo, bookmark)
   814 
   815 
   815     revs = scmutil.revrange(repo, revs)
   816     revs = logcmdutil.revrange(repo, revs)
   816     if outgoing:
   817     if outgoing:
   817         revs = _getoutgoing(repo, dest, revs)
   818         revs = _getoutgoing(repo, dest, revs)
   818     if bundle:
   819     if bundle:
   819         opts[b'revs'] = [b"%d" % r for r in revs]
   820         opts[b'revs'] = [b"%d" % r for r in revs]
   820 
   821