Login | Join Now

sharpsvn
Subversion

Revision
( previous | next )
Author rhuijben
Date 2010-03-04 04:33:39-0700 (6 months ago)
Log message
Make GetNormalizedFullPath() return UNC paths with '\'-s at the end trimmed.
Also make IsNormalizedFullPath() a bit less picky about which UNC paths need
normalization.

* src/SharpSvn.Tests/PathTests.cs
  Add several more path normalization tests

* src/SharpSvn/SvnTools.cpp
  (GetNormalizedFullPath):
     Also trim ending '\'-s when the path was almost normalized.
  (IsNormalizedFullPath): Also allow digits in the hostname, before
    suggesting normalization. Allow spaces and dollars in sharenames.