Page MenuHomePhabricator

phabricator: refactor `phabread` to write all patches at once
ClosedPublic

Authored by mharbison72 on Feb 20 2020, 8:09 PM.

Details

Summary

This will be necessary to create a first class phabimport command. That
command requires a transaction, and will import all named patches within a
single transaction. But if Phabricator queries also happen within the
transaction, that leaves open the chance that an exception is raised, the
transaction is abandoned, and the next command that is run will complain about
needing to run hg recover.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage