rsync transport: allow local paths, and fix tests
commit7efaeba2a8006bb52712eb90c6fbc736b9632cab
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 9 Mar 2009 18:44:55 +0000 (9 19:44 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Mar 2009 06:17:56 +0000 (10 23:17 -0700)
treeb70efc303aa4a4f695628cc036e12759eac7b88c
parent9a6682bab5e800465f0a4e44cdf18fe396ff4f6d
rsync transport: allow local paths, and fix tests

Earlier, the rsync tests were disabled by default, as they needed a
running rsyncd daemon.  This was only due to the limitation that our
rsync transport only allowed full URLs of the form

rsync://<host>/<path>

Relaxing the URLs to allow

rsync:<path>

permitted the change in the tests to run whenever rsync is available,
without requiring a fully configured and running rsyncd.

While at it, the tests were fixed so that they run in directories with a
space in their name.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5510-fetch.sh
transport.c