Closed Bug 1812645 Opened 1 year ago Closed 1 year ago

make pash use `pathlib` for path manipulations

Categories

(Developer Services :: Mercurial: hg.mozilla.org, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Assigned: sheehan)

References

Details

Attachments

(1 file)

Use pathlib for path and file manipulations. This will allow us to remove many outdated usages of run_command, for things like making/touching files.

Make pash use pathlib for path management everywhere.
Removes several usages of run_command and instead forces
usage of the pathlib object functions (ie for things like
chown, touch, mkdir etc).

Depends on D168101

Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/abf288c8ab29
pash: use pathlib instead of string paths r=zeid

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Regressions: 1825810
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: