git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFC] git-svn: Fix branch detection when repository root is inaccessible

From
EWEric Wong <normalperson@yhbt.net>
Date
Jul 7, 2009, 07:05 UTC
Message-ID
<20090707070559.GA13684@dcvr.yhbt.net>
In-Reply-To
<1246919293.4618.12.camel@kea>
Mattias Nissler <mattias.nissler@gmx.de> wrote:
Show 17 quoted lines
> Hi Eric,
> 
> On Mon, 2009-07-06 at 14:27 -0700, Eric Wong wrote:
> > Fixing the minimize logic is definitely a wanted improvement I haven't
> > been able to fix myself.  Unfortunately, your patch breaks the
> > t9138-git-svn-multiple-branches.sh test for me.  
> 
> I see the same here, not sure why I've missed it before. I've had a look
> at the problem and found that the test is actually depending on the
> minimizing logic, i.e. needs to specify -d project1/<tag-or-branch-dir>
> for the tag or branch destination where the project1 prefix is due to
> the minimization at clone time. Dropping the project1 part makes the
> test succeed. I'll simply update the test to do so.
> 
> I also think this is much better from a usability point of view since
> you can now use the original branch or tag dir you've given to clone in
> order to specify the branch or tag destination.

OK. I was slightly concerned about potential breakage but I guess existing imports will continue to work fine, so I suppose it's alright...

Show 11 quoted lines
> > I haven't looked at it
> > at all, but I'll try to take a look at it later today after I process other
> > things in my overflowing work queue; but I definitely want access issues
> > fixed for people with restrictive repo setups.
> > 
> > One thing I would do is to split out the making of dup_changed_paths()
> > the default behavior into a separate patch.  I think this is a good
> > change since it makes things less surprising for future hackers of
> > git svn.
> 
> Ok, will do so. I'll send updated patches in reply to this mail.

Thanks again Mattias. Acked and pushed out with minor formatting fixes to git://git.bogomips.org/git-svn along with Yann's documentation patches.

Show 5 quoted lines
> Finally, a big thanks for the nice job on git-svn. I've just experienced
> lots of trouble with the mercurial SVN integration and it's really a
> pain in the ass even to just get a simple clean rebase done properly.
> git-svn is really way more mature and it's a pleasure to use it for
> everyday work.
No problem :)
-- 
Eric Wong
Previous: Mattias NisslerNext: Mattias Nissler
Message 4 of 7 in “git-svn: Fix branch detection when repository root is inaccessible”
  1. git-svn: Fix branch detection when repository root is inaccessibleMattias Nissler, Jul 5, 2009
  2. Eric WongJul 6, 2009
  3. Mattias NisslerJul 6, 2009
  4. Eric WongJul 7, 2009
  5. 1/2 git-svn: Always duplicate paths returned from get_logMattias Nissler, Jul 6, 2009
  6. 2/2 git-svn: Fix branch detection when repository root is inaccessibleMattias Nissler, Jul 6, 2009
  7. Marc BranchaudJul 7, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.