Closed Bug 1812645 Opened 3 years ago Closed 3 years 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

(2 files)

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: 3 years ago
Resolution: --- → FIXED
Regressions: 1825810

Changeset abf288c8ab29 (bug 1812645) modified the displayed relative
path by removing the leading /.

Pushed by cosheehan@mozilla.com: https://hg.mozilla.org/hgcustom/version-control-tools/rev/289621693639 hgserver: update expected output from pash r=sheehan
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: