Support unescaped repository urls, like git does.

Turns out that git will accept a .git/config containing an url with eg,
spaces in its name. Handle this by escaping the url if it's not valid.

This also fixes support for urls containing escaped characters like %20
for space. Before, the path from the url was not unescaped properly.
This commit is contained in:
Joey Hess 2012-01-05 14:32:20 -04:00
parent 3e3ed62bdf
commit 0b27e6baa0
3 changed files with 23 additions and 7 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
git-annex (3.20120106) UNRELEASED; urgency=low
* Support unescaped repository urls, like git does.
-- Joey Hess <joeyh@debian.org> Thu, 05 Jan 2012 14:29:30 -0400
git-annex (3.20120105) unstable; urgency=low
* Added annex-web-options configuration settings, which can be