# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/.
from subprocess import CalledProcessError
import mozunit import pytest
from mozversioncontrol import get_repository_object
# Modify `foo` and update. Should fail with dirty working directory.
repo.execute_next_step() if repo.vcs != "jj": with pytest.raises(CalledProcessError):
vcs.update(rev0) assert vcs.head_rev == rev1 else: # jj doesn't have a "dirty working directory". pass
if __name__ == "__main__":
mozunit.main()
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.