Track the status of a File and normalize file paths.

Review Request #12074 — Created Feb. 23, 2022 and submitted — Latest diff uploaded

Information

ReviewBot
release-3.0.x

Reviewers

File now tracks the status from a FileDiff (the
created/deleted/modified/copied/moved states), which we'll be able to
use to make smart decisions when applying changes to files.

It also normalizes the file paths, ensuring that they're in the format
required for the OS and that all relative components have been
collapsed.

Relevant unit tests pass (can't currently run the whole suite).

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Track the status of a File and normalize file paths.
`File` now tracks the status from a `FileDiff` (the created/deleted/modified/copied/moved states), which we'll be able to use to make smart decisions when applying changes to files. It also normalizes the file paths, ensuring that they're in the format required for the OS and that all relative components have been collapsed.
5661af2e5f98c1d03a8708de77179a0a21dee2e8 Christian Hammond
bot/reviewbot/processing/review.py
Loading...