threads / discuss / 43171

Re: t9100-git-svn-basic.sh fails

Subject: Re: t9100-git-svn-basic.sh fails

## tl;dr

7 messages between Dec 12, 2006 and Dec 13, 2006.

replies: 6people: 4as markdown or json

Sebastian Harl· Dec 12, 2006, 23:23 UTC · lore

t9100-git-svn-basic.sh fails

Hi,

When compiling git 1.4.4.2 on my Debian Sarge box t9100-git-svn-basic.sh fails with the following output:

  * FAIL 6: detect node change from directory to file #1
         git-svn commit --find-copies-harder --rmdir remotes/git-svn..mybranch2
I'm using subversion 1.3.2.
Versions up to 1.4.3.2 built fine.
Any clues what this might be caused by?
Thanks in advance.

Cheers, Sebastian

-- 
Sebastian "tokkee" Harl
GnuPG-ID: 0x8501C7FC
http://tokkee.org/
Johannes Schindelin· Dec 13, 2006, 00:03 UTC · re: Sebastian Harl · lore
Hi,
On Wed, 13 Dec 2006, Sebastian Harl wrote:
Show 6 quoted lines
> When compiling git 1.4.4.2 on my Debian Sarge box t9100-git-svn-basic.sh 
> fails with the following output:
> 
>   * FAIL 6: detect node change from directory to file #1
>          git-svn commit --find-copies-harder --rmdir \
>		 remotes/git-svn..mybranch2
Could you please run the test like this:
git/t> sh t9100-* -i -v
The "-i" tells it to stop when a test fails, and "-v" makes it verbose.
Ciao,
Sebastian Harl· Dec 13, 2006, 08:46 UTC · re: Johannes Schindelin · lore
Hi,
On Wed, Dec 13, 2006 at 01:03:21AM +0100, Johannes Schindelin wrote:
Show 12 quoted lines
> On Wed, 13 Dec 2006, Sebastian Harl wrote:
> 
> > When compiling git 1.4.4.2 on my Debian Sarge box t9100-git-svn-basic.sh 
> > fails with the following output:
> > 
> >   * FAIL 6: detect node change from directory to file #1
> >          git-svn commit --find-copies-harder --rmdir \
> >		 remotes/git-svn..mybranch2
> 
> Could you please run the test like this:
> 
> git/t> sh t9100-* -i -v
  * expecting failure: git-svn commit --find-copies-harder --rmdir remotes/git-svn..mybranch2
  diff-tree 5d3b7d019e8fa8d509091bd1d80113c8f20f9f4f 91d77f97b74783aa97ba2aed5a966e936eb9d30f
  Transaction is out of date: Out of date: 'test-git-svn/bar' in transaction '2-2' at /home/tokkee/projects/debian/backports/backports.org/git-core/git-core-1.4.4.2/t/../git-svn line 1573
  65280 at /home/tokkee/projects/debian/backports/backports.org/git-core/git-core-1.4.4.2/t/../git-svn line 575
  	main::commit_lib('91d77f97b74783aa97ba2aed5a966e936eb9d30f') called at /home/tokkee/projects/debian/backports/backports.org/git-core/git-core-1.4.4.2/t/../git-svn line 481
  	main::commit('remotes/git-svn..mybranch2') called at /home/tokkee/projects/debian/backports/backports.org/git-core/git-core-1.4.4.2/t/../git-svn line 173
  * FAIL 6: detect node change from directory to file #1
  	git-svn commit --find-copies-harder --rmdir remotes/git-svn..mybranch2

Cheers, Sebastian

-- 
Sebastian "tokkee" Harl
GnuPG-ID: 0x8501C7FC
http://tokkee.org/
Eric Wong· Dec 13, 2006, 09:43 UTC · re: Sebastian Harl · lore
Sebastian Harl <sh@tokkee.org> wrote:
Show 24 quoted lines
> Hi,
> 
> On Wed, Dec 13, 2006 at 01:03:21AM +0100, Johannes Schindelin wrote:
> > On Wed, 13 Dec 2006, Sebastian Harl wrote:
> > 
> > > When compiling git 1.4.4.2 on my Debian Sarge box t9100-git-svn-basic.sh 
> > > fails with the following output:
> > > 
> > >   * FAIL 6: detect node change from directory to file #1
> > >          git-svn commit --find-copies-harder --rmdir \
> > >		 remotes/git-svn..mybranch2
> > 
> > Could you please run the test like this:
> > 
> > git/t> sh t9100-* -i -v
> 
>   * expecting failure: git-svn commit --find-copies-harder --rmdir remotes/git-svn..mybranch2
>   diff-tree 5d3b7d019e8fa8d509091bd1d80113c8f20f9f4f 91d77f97b74783aa97ba2aed5a966e936eb9d30f
>   Transaction is out of date: Out of date: 'test-git-svn/bar' in transaction '2-2' at /home/tokkee/projects/debian/backports/backports.org/git-core/git-core-1.4.4.2/t/../git-svn line 1573
>   65280 at /home/tokkee/projects/debian/backports/backports.org/git-core/git-core-1.4.4.2/t/../git-svn line 575
>   	main::commit_lib('91d77f97b74783aa97ba2aed5a966e936eb9d30f') called at /home/tokkee/projects/debian/backports/backports.org/git-core/git-core-1.4.4.2/t/../git-svn line 481
>   	main::commit('remotes/git-svn..mybranch2') called at /home/tokkee/projects/debian/backports/backports.org/git-core/git-core-1.4.4.2/t/../git-svn line 173
>   * FAIL 6: detect node change from directory to file #1
>   	git-svn commit --find-copies-harder --rmdir remotes/git-svn..mybranch2

Oh, *smacks head* I'm only half-awake at the moment, but it looks like 1.4.4.2 doesn't have commit d25c26e771fdf771f264dc85be348719886d354f (git-svn: exit with status 1 for test failures)

Junio: can you please cherry-pick that commit (and also apply "git-svn: correctly display fatal() error messages" (Message-Id: <11659636263755-git-send-email-normalperson@yhbt.net>) into maint?

Thanks.
Junio C Hamano· Dec 13, 2006, 09:53 UTC · re: Eric Wong · lore
Eric Wong <normalperson@yhbt.net> writes:
Show 5 quoted lines
> Junio:
> can you please cherry-pick that commit (and also apply
> "git-svn: correctly display fatal() error messages"
> (Message-Id: <11659636263755-git-send-email-normalperson@yhbt.net>)
> into maint?
Done.
Eric Wong· Dec 13, 2006, 01:01 UTC · re: Sebastian Harl · lore
Sebastian Harl <sh@tokkee.org> wrote:
Show 13 quoted lines
> Hi,
> 
> When compiling git 1.4.4.2 on my Debian Sarge box t9100-git-svn-basic.sh fails
> with the following output:
> 
>   * FAIL 6: detect node change from directory to file #1
>          git-svn commit --find-copies-harder --rmdir remotes/git-svn..mybranch2
> 
> I'm using subversion 1.3.2.
> 
> Versions up to 1.4.3.2 built fine.
> 
> Any clues what this might be caused by?

Are you using the svn command-line client or are the Perl SVN libraries installed? I made a fix for people using version 1.4.x of the the command-line client, but I recall backwards compatibility was preserved as far as svn 1.1 goes.

Sebastian Harl· Dec 13, 2006, 08:47 UTC · re: Eric Wong · lore
Hi,
On Tue, Dec 12, 2006 at 05:01:03PM -0800, Eric Wong wrote:
Show 15 quoted lines
> Sebastian Harl <sh@tokkee.org> wrote:
> > When compiling git 1.4.4.2 on my Debian Sarge box t9100-git-svn-basic.sh fails
> > with the following output:
> > 
> >   * FAIL 6: detect node change from directory to file #1
> >          git-svn commit --find-copies-harder --rmdir remotes/git-svn..mybranch2
> > 
> > I'm using subversion 1.3.2.
> > 
> > Versions up to 1.4.3.2 built fine.
> > 
> > Any clues what this might be caused by?
> 
> Are you using the svn command-line client or are the Perl SVN libraries
> installed?
The Perl SVN libs are installed.

Cheers, Sebastian

-- 
Sebastian "tokkee" Harl
GnuPG-ID: 0x8501C7FC
http://tokkee.org/

← back to recent threads