Files
tubestation/python
Alex Hochheiden ffb3107b36 Bug 1962245: Add a _run_read_only function to JujutsuRepository r=sfink
`_run_read_only` will add `--ignore-working-copy` to the passed
in `jj` command, then call `_run` with the altered command. This
will prevent the called command from acquiring a lock on the
`working-copy` directory.

`jj` commands that don't need to alter the repo should use this
new `_run_read_only` function. Doing so should avoid potential
concurrency issues.

Differential Revision: https://phabricator.services.mozilla.com/D246490
2025-04-24 01:37:44 +00:00
..

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025