fix dav add-repo crash in case .dav/config.xml doesn't exist

also remove \r from user name

(0) -300 -100 -30 -10 -2 tip

mercurial