implement connecting to repositories

port more dav config code

(0) -2 +2 +10 +30 tip

mercurial