HGitalyServicer: utility to call Mercurial commands
Very similar to what, e.g., mercurial-testhelpers and many similar tools do. This is as close to the CLI as possible, and suitable for methods that can be implemented in a single mutating command, as the command will typically enclose the actual mutation in its own transaction. Methods to be implemented as a succession of mutation commands should better manage a single transaction themselves, probably at the price of a greate duplication from Mercurial core.
Loading
Please register or sign in to comment