# # # patch "tracvc/mtn/backend.py" # from [409beefcb402234e0468dd540eeb7c2df923097d] # to [f61e9836fccd9c084387d569b0cc3f9d7c76b32c] # ============================================================ --- tracvc/mtn/backend.py 409beefcb402234e0468dd540eeb7c2df923097d +++ tracvc/mtn/backend.py f61e9836fccd9c084387d569b0cc3f9d7c76b32c @@ -347,7 +347,7 @@ class MonotoneRepository(Repository): Return a canonical representation of path in the repos. We strip trailing slashes except for the root. """ - return '/' + path.strip('/') + return '/' + (path and path.strip('/') or '') def normalize_rev(self, rev): """