commit | 280ad88aa0e851b2f2945222edb8e7b681a7574b | [log] [tgz] |
---|---|---|
author | Michael G. Schwern <schwern@pobox.com> | Sat Jul 28 02:38:28 2012 -0700 |
committer | Eric Wong <normalperson@yhbt.net> | Thu Aug 02 21:43:58 2012 +0000 |
tree | 4c56e2de4aef88b6887589e3a9add119777ab677 | |
parent | 82009f304826fcaf3188fb422769a7974ae78afa [diff] |
git-svn: factor out _collapse_dotdot function 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>