Show More
@@ -1655,6 +1655,7 b' def readpatch(ui, drevs, write):' | |||
|
1655 | 1655 | [(b'', b'stack', False, _(b'read dependencies'))], |
|
1656 | 1656 | _(b'DREVSPEC [OPTIONS]'), |
|
1657 | 1657 | helpcategory=command.CATEGORY_IMPORT_EXPORT, |
|
1658 | optionalrepo=True, | |
|
1658 | 1659 | ) |
|
1659 | 1660 | def phabread(ui, repo, spec, **opts): |
|
1660 | 1661 | """print patches from Phabricator suitable for importing |
@@ -1678,13 +1679,13 b' def phabread(ui, repo, spec, **opts):' | |||
|
1678 | 1679 | opts = pycompat.byteskwargs(opts) |
|
1679 | 1680 | if opts.get(b'stack'): |
|
1680 | 1681 | spec = b':(%s)' % spec |
|
1681 |
drevs = querydrev( |
|
|
1682 | drevs = querydrev(ui, spec) | |
|
1682 | 1683 | |
|
1683 | 1684 | def _write(patches): |
|
1684 | 1685 | for drev, content in patches: |
|
1685 | 1686 | ui.write(content) |
|
1686 | 1687 | |
|
1687 |
readpatch( |
|
|
1688 | readpatch(ui, drevs, _write) | |
|
1688 | 1689 | |
|
1689 | 1690 | |
|
1690 | 1691 | @vcrcommand( |
General Comments 0
You need to be logged in to leave comments.
Login now