Modernize and document the Subversion diff parser.

Review Request #10783 — Created Nov. 4, 2019 and updated

chipx86
Review Board
release-4.0.x
9030bc5...
reviewboard

This updates the Perforce diff parser to work directly on the
ParsedDiffFile, rather than the deprecated intermediary parser
dictionary. It also reduces repeated attribute accesses on the parser.

Along with this, the parser methods have been documented, providing
better insight into what each function is responsible for.

Unit tests pass.

Checks run (2 succeeded)
flake8 passed.
JSHint passed.
david
  1. Ship It!
  2. 
      
Loading...