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

Re: [PATCH] correct access right for git-svn-dcommit test

From
Brad King <brad.king@kitware.com>
Date
Aug 4, 2008, 15:44 UTC
Message-ID
<489723C6.7060806@kitware.com>
In-Reply-To
<20080804153024.GV7008@dpotapov.dyndns.org>
Dmitry Potapov wrote:
Show 23 quoted lines
> The tests requires anonymous write access. Therefore, "anon-access =
> write" is added to conf/svnserve.conf. But because it was added to
> the end of the file, it is impossible to guarantee in what section
> it will be located. It turned out that on SVN 1.5, it was placed in
> the wrong section and as result the test failed.
> 
> Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
> ---
>  t/t9113-git-svn-dcommit-new-file.sh |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/t/t9113-git-svn-dcommit-new-file.sh b/t/t9113-git-svn-dcommit-new-file.sh
> index 8da8ce5..ae78e33 100755
> --- a/t/t9113-git-svn-dcommit-new-file.sh
> +++ b/t/t9113-git-svn-dcommit-new-file.sh
> @@ -28,6 +28,7 @@ start_svnserve () {
>  
>  test_expect_success 'start tracking an empty repo' '
>  	svn mkdir -m "empty dir" "$svnrepo"/empty-dir &&
> +	echo "[general]" > "$rawsvnrepo"/conf/svnserve.conf &&
>  	echo anon-access = write >> "$rawsvnrepo"/conf/svnserve.conf &&
>  	start_svnserve &&
>  	git svn init svn://127.0.0.1:$SVNSERVE_PORT &&
I just tried this patch and it does fix the test on my system.

Thanks, -Brad

Previous: Dmitry PotapovNext: Eric Wong
Message 10 of 11 in “git-svn: teach dcommit about svn auto-props”
  1. 1/2 git-svn: teach dcommit about svn auto-propsBrad King, Jul 21, 2008
  2. Eric WongJul 25, 2008
  3. git-svn: teach dcommit about svn auto-propsBrad King, Jul 25, 2008
  4. Eric WongJul 26, 2008
  5. Brad KingJul 26, 2008
  6. [RFH] - git-svn auth bug (possibly SVN 1.5.0-related)Eric Wong, Aug 3, 2008
  7. Dmitry PotapovAug 4, 2008
  8. Dmitry PotapovAug 4, 2008
  9. correct access right for git-svn-dcommit testDmitry Potapov, Aug 4, 2008
  10. Brad KingAug 4, 2008
  11. Eric WongAug 5, 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.