[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug in subversion?

From: Robert Bocheński <r.bochenski_at_home.pl>
Date: 2006-01-26 16:02:57 CET

Ryan Schmidt napisał(a):
> Please keep replies on the mailing list so we can all try to help.
>
>
> On Jan 26, 2006, at 12:40, Robert Bocheński wrote:
>
>>>> I have a problem with subversion. When I'm trying to commit
>>>> files placed in different folders and one of the file is in top
>>>> level folder subversion gives an error: 'abort trap...'
>>> [patch snipped]
>>>
>>> I'm sorry, I didn't quite understand what situation your patch is
>>> addressing. Can you provide a reproduction recipe that shows the
>>> behavior you're fixing?
>> Ok...
>>
>> svn commit "gfx/my.js" "hidden/handler" "webmail" -m "some message"
>>
>> Gives:
>> Abort Trap.
>
> Well, that's not much of a recipe...
>
> I tried to reproduce it, and cannot:
>
>
> $ cd /tmp
> $ svnadmin create repo
> $ svn co file:///tmp/repo wc
> Checked out revision 0.
> $ cd wc
> $ svn mkdir gfx hidden
> A gfx
> A hidden
> $ svn ci -m ""
> Adding gfx
> Adding hidden
>
> Committed revision 1.
> $ touch gfx/my.js hidden/handler webmail
> $ svn add gfx/my.js hidden/handler webmail
> A gfx/my.js
> A hidden/handler
> A webmail
> $ svn ci gfx/my.js hidden/handler webmail -m ""
> Adding gfx/my.js
> Adding hidden/handler
> Adding webmail
> Transmitting file data ...
> Committed revision 2.
> $
Ok, i'm back....

These steps previous are ok... after this above try this:

Configure users for example:
passwd:
[users]
test=ala

and svnserve.conf
### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository. (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)

### Visit http://subversion.tigris.org/ for more information.

[general]
anon-access = none
auth-access = write
password-db = passwd
realm = repo-test repository

$mkdir svn_test
$cd svn_test

$cp [path]/svn .
$chroot -u user ./
$/svn --config-dir=/.svn checkout --username=test svn://host/repo/ .

edit files gfx/my.js hidden/handler webmail

$/svn commit --username=test "gfx/my.js" "hidden/handler" "webmail" -m "some message"

Result is:
Abort

$uname -v
FreeBSD 5.4-STABLE-20050823-JPSNAP #1: Tue Aug 23 15:27:59 CEST 2005
user@host:/data/src/bsd2/sys/i386/compile/HOME

-- 
Best Regards
Bochen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 26 16:18:14 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.