git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn url-encodes ~ when it should not
@ 2008-10-18 21:39 Björn Steinbrink
  2008-10-18 22:47 ` Björn Steinbrink
  0 siblings, 1 reply; 9+ messages in thread
From: Björn Steinbrink @ 2008-10-18 21:39 UTC (permalink / raw)
  To: Eric Wong; +Cc: git

Hi,

Jose Carlos Garcia Sogo reported on #git that a git-svn clone of this
svn repo fails for him:
https://sucs.org/~welshbyte/svn/backuptool/trunk

I can reproduce that here with:
git-svn version 1.6.0.2.541.g46dc1.dirty (svn 1.5.1)

The error message I get is:
Apache got a malformed URI: Unusable URI: it does not refer to this
repository at /usr/local/libexec/git-core/git-svn line 4057

strace revealed that git-svn url-encodes ~ while svn does not do that.

For svn we have:
write(5, "<S:update-report send-all=\"true\" xmlns:S=\"svn:\">
<S:src-path>https://sucs.org/~welshbyte/svn/backuptool/trunk</S:src-path>...

While git-svn shows:
write(7, "<S:update-report send-all=\"true\" xmlns:S=\"svn:\">
<S:src-path>https://sucs.org/%7Ewelshbyte/svn/backuptool/trunk</S:src-path>...

Björn

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-10-24  9:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-18 21:39 git-svn url-encodes ~ when it should not Björn Steinbrink
2008-10-18 22:47 ` Björn Steinbrink
2008-10-21 21:12   ` [PATCH] git-svn: don't escape tilde ('~') for http(s) URLs Eric Wong
2008-10-21 21:53     ` Junio C Hamano
2008-10-22  6:13       ` Mike Hommey
2008-10-22  6:24         ` Junio C Hamano
2008-10-22  8:16       ` Eric Wong
2008-10-22 18:53         ` Junio C Hamano
2008-10-24  9:13           ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).