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

Re: [PATCH] git-svn: teach dcommit about svn auto-props

From
Brad King <brad.king@kitware.com>
Date
Jul 26, 2008, 14:08 UTC
Message-ID
<488B2FC5.4080801@kitware.com>
In-Reply-To
<20080726054547.GA20494@untitled>
Eric Wong wrote:
> Brad King <brad.king@kitware.com> wrote:
>> Signed-off-by: Brad King <brad.king@kitware.com>
> 
> Acked-by: Eric Wong <normalperson@yhbt.net>
Great, thanks!
Show 11 quoted lines
>> ---
>> Eric Wong wrote:
>>> I haven't had the chance to look at this.   Can anybody else shed more
>>> light on that bug?  It's really strange that the tests won't run because
>>> of it.  Are you unable to run some git-svn tests or all of them?
>> Just that one fails.  All others (including the one in the patch below) pass.
> 
> Exactly which test fails for you?  Perhaps it's some setting in your
> ~/.subversion/config that's causing it to fail.  Maybe we should set
> $HOME and use a clean ~/.subversion/config for git-svn tests regardless
> if that turns out to be the case...
$ cd $gitsrc/t
$ export SVNSERVE_PORT=5432
$ ./t9113-git-svn-dcommit-new-file.sh
*   ok 1: start tracking an empty repo
* FAIL 2: create files in new directory with dcommit
                mkdir git-new-dir &&
                echo hello > git-new-dir/world &&
                git update-index --add git-new-dir/world &&
                git commit -m hello &&
                start_svnserve &&
                git svn dcommit
* failed 1 among 2 test(s)

I hacked the test script to log the dcommit output to a file, and I see this:

Committing to svn://127.0.0.1:5432 ... Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/SVN/Core.pm line 584. Authorization failed: at $gitsrc/t/../git-svn line 3329

(I replaced my git source dir full path with $gitsrc).
The version of libsvn-perl is:  1.5.0dfsg1-4
Please let me know if you need more info.

I tried moving my ~/.subversion/config out of the way but it makes no difference. However, I agree we should block the user's home svn config when running other dcommit tests now that we have auto-props. Perhaps just using the --config-dir option with an empty directory would be enough.

-Brad
Previous: Eric WongNext: Eric Wong
Message 5 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.