summaryrefslogtreecommitdiff
path: root/t/Git-SVN/Utils/collapse_dotdot.t
AgeCommit message (Collapse)AuthorFilesLines
2012-08-02git-svn: factor out _collapse_dotdot functionLibravatar Michael G. Schwern1-0/+23
The SVN API functions will not accept ../foo but their canonicalization functions will not collapse it. So we'll have to do it ourselves. _collapse_dotdot() works better than the existing regex did. This will be used shortly when canonicalize_path() starts using the SVN API. [ew: commit title] Signed-off-by: Eric Wong <normalperson@yhbt.net>