Re: git-svn SVN 1.7 fix, take 2

2012-07-25 Thread Michael G Schwern
On 2012.7.25 12:14 AM, Junio C Hamano wrote: >> Nothing, because paths are not URI escaped. :) >> >> You probably meant svn_uri_canonicalize(). And no, it does not double >> escape, >> so its safe to escape as early as possible. > > Are you saying that the function assumes that a local pathname

Re: git-svn SVN 1.7 fix, take 2

2012-07-25 Thread Junio C Hamano
Michael G Schwern writes: > On 2012.7.24 9:53 PM, Jonathan Nieder wrote: >> Michael G Schwern wrote: >> >>> No, now it's just canonicalizing as early as possible. Preferably within >>> the >>> object accessor rather than at the point of use. So in the code below, >>> $full_url is already esca

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Michael G Schwern
On 2012.7.24 9:53 PM, Jonathan Nieder wrote: > Michael G Schwern wrote: > >> No, now it's just canonicalizing as early as possible. Preferably within the >> object accessor rather than at the point of use. So in the code below, >> $full_url is already escaped/canonicalized. > > Let's start with

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Jonathan Nieder
Michael G Schwern wrote: > No, now it's just canonicalizing as early as possible. Preferably within the > object accessor rather than at the point of use. So in the code below, > $full_url is already escaped/canonicalized. Let's start with this. Is svn_path_canonicalize() idempotent? What doe

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Michael G Schwern
On 2012.7.24 4:45 PM, Junio C Hamano wrote: >>> git log -p schwern/git-svn/extract-classes..schwern/git-svn/fix-canonical >>> >>> That should give you the information you need... >> >> I guess so. May we have your sign-off on these changes? (A simple >> reply of "yes" is enough, no need to rese

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Junio C Hamano
Jonathan Nieder writes: > Michael G Schwern wrote: > >> git log -p schwern/git-svn/extract-classes..schwern/git-svn/fix-canonical >> >> That should give you the information you need... > > I guess so. May we have your sign-off on these changes? (A simple > reply of "yes" is enough, no need to

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Jonathan Nieder
Michael G Schwern wrote: > git log -p schwern/git-svn/extract-classes..schwern/git-svn/fix-canonical > > That should give you the information you need... I guess so. May we have your sign-off on these changes? (A simple reply of "yes" is enough, no need to resend patches to do this.) Here it

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Jonathan Nieder
Michael G Schwern wrote: > While I use git heavily I'm not invested in working on it. I work on a lot of > projects. I'd like to be able to do the work, submit it, work through review, > and get out without joining another mailing list and studying their culture. An alternative approach would b

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Michael G Schwern
On 2012.7.24 2:51 PM, Junio C Hamano wrote: > Michael G Schwern writes: > >> A big one is "do not blast 10 emails to a mailing list" but I gather that's >> ok >> here if a submission needs 10 commits to be well expressed and its done via >> git-send-email? And then if patch #3 needs revision I'

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Jonathan Nieder
Hi again, Michael G Schwern wrote: > On 2012.7.24 3:02 PM, Jonathan Nieder wrote: >> Could you send the first five patches that *are* supposed to have a >> functional effect? I know that they will not apply cleanly to git-svn >> from git "master" or on top of each other; that's fine with me. If

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Michael G Schwern
On 2012.7.24 3:02 PM, Jonathan Nieder wrote: >> The Git::SVN extraction is more complicated than the rest, so I'll probably >> do >> that separately and bust it up into a few commits. > > All of these changes are supposed to have zero functional effect, > right? Right. They're just class extrac

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Jonathan Nieder
Hi, Michael G Schwern wrote: > I'm trying to bust it up into easier to digest pieces. I have a crazy idea. You might not like it, but maybe it's worth giving it a try. [...] > The Git::SVN extraction is more complicated than the rest, so I'll probably do > that separately and bust it up into a

Re: git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Junio C Hamano
Michael G Schwern writes: > A big one is "do not blast 10 emails to a mailing list" but I gather that's ok > here if a submission needs 10 commits to be well expressed and its done via > git-send-email? And then if patch #3 needs revision I'm to do it in a rebase > and resend the whole 10 commit

git-svn SVN 1.7 fix, take 2

2012-07-24 Thread Michael G Schwern
It's post OSCON so I can take another crack at this again. I'm struggling with how best to present all this to you folks. There's etiquette for how one presents a git pull request... but there's conflicting etiquette about how one presents patches to a mailing list. I'm not sure which bit of whi