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

Re: [PATCH 1/3] Fix multi-glob assertion in git-svn

From
EWEric Wong <normalperson@yhbt.net>
Date
Aug 9, 2008, 07:28 UTC
Message-ID
<20080809072806.GA20504@untitled>
In-Reply-To
<7vk5erete1.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> wrote:
Show 20 quoted lines
> Eric Wong <normalperson@yhbt.net> writes:
> 
> > From: Marcus Griep <marcus@griep.us>
> >
> > Fixes bad regex match check for multiple globs (would always return
> > one glob regardless of actual number).
> >
> > [ew: fixed a bashism in the test and some minor line-wrapping]
> 
> Thanks both.
> 
> > +test_expect_success 'test disallow multi-globs' '
> > ...
> > +	cd tmp &&
> > +		echo "try try" >> tags/end/src/b/readme &&
> > +		poke tags/end/src/b/readme &&
> > +		svn commit -m "try to try"
> > +		cd .. &&
> 
> Do you want to ignore exit code from 'svn commit -m' here?
Oops, no missed that.
Show 10 quoted lines
> In any case, I'd want to see "temporarily work in subdirectory" done in a
> subshell when applicable, so that we won't have to worry about where we
> are when we later add more tests, like this:
> 
> 	(
>         	cd tmp &&
>                 echo "try try" >>tags/end/src/b/readme &&
>                 poke tags/end/src/b/readme &&
>                 svn commit -m "try to try" &&
> 	) &&
Yes, that's a good idea
> > +	test_must_fail git-svn fetch three 2> stderr.three &&
> > +	cmp expect.three stderr.three
> 
> s/cmp/test_cmp/;
Noted.

Shall I make those changes and resubmit or are they simple enough for you to do?

-- 
Eric Wong
Previous: Junio C HamanoNext: Junio C Hamano
Message 9 of 14 in “git-svn: Allow deep branch names by supporting multi-globs”
  1. 2/2 git-svn: Allow deep branch names by supporting multi-globsMarcus Griep, Aug 6, 2008
  2. Eric WongAug 7, 2008
  3. 0/2 git-svn multi-glob fix and extensionMarcus Griep, Aug 7, 2008
  4. 1/2 Fix multi-glob assertion in git-svnMarcus Griep, Aug 7, 2008
  5. 2/2 git-svn: Allow deep branch names by supporting multi-globsMarcus Griep, Aug 7, 2008
  6. Eric WongAug 8, 2008
  7. 1/3 Fix multi-glob assertion in git-svnEric Wong, Aug 8, 2008
  8. Junio C HamanoAug 8, 2008
  9. Eric WongAug 9, 2008
  10. Junio C HamanoAug 9, 2008
  11. 2/3 git-svn: Allow deep branch names by supporting multi-globsEric Wong, Aug 8, 2008
  12. 3/3 git-svn: wrap long lines in a few placesEric Wong, Aug 8, 2008
  13. 1/3 Fix multi-glob assertion in git-svnEric Wong, Aug 8, 2008
  14. 2/3 git-svn: Allow deep branch names by supporting multi-globsEric Wong, Aug 8, 2008

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.