Always remove trailing slashes from normalized SVN paths.

Review Request #9474 — Created Jan. 10, 2018 and submitted

chipx86
Review Board
release-3.0.x
6c662b2...
reviewboard

Canonical SVN paths are not supposed to contain trailing slashes, but
we've never protected against this. PySVN happily passes our paths
through libsvn's path normalization functions, but subvertpy no longer
does this. This means that on Subvertpy 0.10 and higher, certain
operations will no longer work.

This change fixes our path normalization to always strip trailing
slashes, ensuring that we're more compliant with Subversion's path
requirements and fixing Subvertpy.

Unit tests pass on Subvertpy and PySVN.

brennie
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.5.x (8018468)
Loading...