You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Peter Hercek <pe...@syncad.com> on 2004/07/28 22:26:41 UTC
"Inconsistent line-endings in source stream" error is not expressive enough
Hi,
We get sometimes errors like this when committing:
Transmitting file data ............svn: Commit failed (details follow):
svn: Inconsistent line-endings in source stream
There is a good reason for the error, but the problem is that
when committing a lot of files, the files which actually have
inconsitent line-endings are not listed in the error message.
This is a defect in my opinion. My quick search of issue list
indicates that it was not reported yet. Do you have some
workarounds for it? Eg a program which can check a list of
files and report the files with inconsistent line-endigs?
Peter.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: "Inconsistent line-endings in source stream" error is not
expressive enough
Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2004-08-06 at 17:43, Peter Hercek wrote:
> Z:\temp\certificates>svn ci -m "[JHV]: [Ign] only a test of eol mismatch detection"
> Sending readme.txt
> Transmitting file data .svn: Commit failed (details follow):
>
> Z:\temp\certificates>svn --version -q
> 1.1.0-rc1
>
> Z:\temp\certificates>
>
> I think it is worse; in past it at least indicated that line endings are wrong.
> Or did we something screw up when upgrading?
Okay, I've finally fixed this problem on the /trunk code, r10546.
Thanks for pointing this out. We have better error messages now:
$ svn ci -m aoeu
Sending dir2/file1
Adding dir2/file4
Transmitting file data ..
subversion/libsvn_client/commit.c:764: (apr_err=135000)
svn: Commit failed (details follow):
subversion/libsvn_subr/subst.c:937: (apr_err=135000)
svn: File '/home/sussman/scratch/dir1/dir2/file4' has inconsistent newlines
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: "Inconsistent line-endings in source stream" error is not expressive enough
Posted by Peter Hercek <pe...@syncad.com>.
----- Original Message -----
From: "Ben Collins-Sussman" <su...@collab.net>
To: "Peter Hercek" <pe...@syncad.com>
Cc: <us...@subversion.tigris.org>
Sent: Thursday, July 29, 2004 15:03
Subject: Re: "Inconsistent line-endings in source stream" error is notexpressive enough
> On Wed, 2004-07-28 at 17:26, Peter Hercek wrote:
>
> > There is a good reason for the error, but the problem is that
> > when committing a lot of files, the files which actually have
> > inconsitent line-endings are not listed in the error message.
>
> I think this bug was fixed in 1.1. I think.
>
This was done with version 1.1.rc1 on both client and server:
Z:\temp\certificates>svn ci -m "[JHV]: [Ign] only a test of eol mismatch detection"
Sending readme.txt
Transmitting file data .svn: Commit failed (details follow):
Z:\temp\certificates>svn --version -q
1.1.0-rc1
Z:\temp\certificates>
I think it is worse; in past it at least indicated that line endings are wrong.
Or did we something screw up when upgrading?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: "Inconsistent line-endings in source stream" error is not
expressive enough
Posted by Ben Collins-Sussman <su...@collab.net>.
On Wed, 2004-07-28 at 17:26, Peter Hercek wrote:
> There is a good reason for the error, but the problem is that
> when committing a lot of files, the files which actually have
> inconsitent line-endings are not listed in the error message.
I think this bug was fixed in 1.1. I think.
> Do you have some
> workarounds for it? Eg a program which can check a list of
> files and report the files with inconsistent line-endigs?
Nope. I'm sure you could write a perl or python script to do that
pretty quickly.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: could not open the requested SVN filesystem
Posted by Don Vawter <do...@vawter.com>.
Some of the group entries were don rather than svn. I changed them all
to svn as below but still get the same error
-rw-rw-r-- 1 don svn 1045452 Jul 1 15:42 log.0000000194
-rw-rw-r-- 1 don svn 1045452 Jul 1 15:42 log.0000000195
Erik Anderson wrote:
>Do an ls -lAF of the "db" directory?
>
>I have this problem everytime I do something administrative-like to the
>repository.
>
>----- Original Message -----
>From: "Don Vawter" <do...@vawter.com>
>To: <us...@subversion.tigris.org>
>Sent: Wednesday, July 28, 2004 4:53 PM
>Subject: could not open the requested SVN filesystem
>
>
>
>
>>svn co httpd://svn.vawter.com:97/svn/repos pcsmail81
>>
>>The apache error log indicates an
>>
>>Wed Jul 28 17:29:05 2004] [error] [client 127.0.0.1] (20014)Error string
>>not specified yet: Berkeley DB error while opening environment for
>>filesystem /driveb/svn/pcsmail81/db:\nPermission denied
>>
>>-rw-rw-r-- 1 don svn 376 Jul 1 15:40 README.txt
>>drwxrwxr-x 2 don svn 104 Jul 1 15:40 locks
>>drwxrwxr-x 2 don svn 232 Jul 1 15:40 hooks
>>-rw-rw-r-- 1 don svn 2 Jul 1 15:40 format
>>drwxrwxr-x 2 don svn 48 Jul 1 15:40 dav
>>drwxrwxr-x 2 don svn 80 Jul 1 15:40 conf
>>drwxrwxr-x 2 don svn 22144 Jul 27 09:21 db
>>
>>Apache runs as nobody and nobody is a member of svn group
>>
>>Here is the httpd.conf
>>
>><Location /svn/repos>
>> DAV svn
>>SVNPath /driveb/svn/pcsmail81
>> </Location>
>>LoadModule authz_svn_module modules/mod_authz_svn.so
>>
>>Guidance?
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
--
Don
Lyra ('tiel), Boomer ('tiel), Ginger (SIE), Mona Lisa (BFA) Zebra Finch Flock
http://www.vawter.com/index.cfm?fuseaction=pets.showimage&image_id=2971&galleryaction=pets.gallery
www.parrotcams.com www.vawter.com www.dailycryptogram.com www.e-crypto.com
Re: could not open the requested SVN filesystem
Posted by Erik Anderson <er...@teamworkgroup.com>.
Do an ls -lAF of the "db" directory?
I have this problem everytime I do something administrative-like to the
repository.
----- Original Message -----
From: "Don Vawter" <do...@vawter.com>
To: <us...@subversion.tigris.org>
Sent: Wednesday, July 28, 2004 4:53 PM
Subject: could not open the requested SVN filesystem
> svn co httpd://svn.vawter.com:97/svn/repos pcsmail81
>
> The apache error log indicates an
>
> Wed Jul 28 17:29:05 2004] [error] [client 127.0.0.1] (20014)Error string
> not specified yet: Berkeley DB error while opening environment for
> filesystem /driveb/svn/pcsmail81/db:\nPermission denied
>
> -rw-rw-r-- 1 don svn 376 Jul 1 15:40 README.txt
> drwxrwxr-x 2 don svn 104 Jul 1 15:40 locks
> drwxrwxr-x 2 don svn 232 Jul 1 15:40 hooks
> -rw-rw-r-- 1 don svn 2 Jul 1 15:40 format
> drwxrwxr-x 2 don svn 48 Jul 1 15:40 dav
> drwxrwxr-x 2 don svn 80 Jul 1 15:40 conf
> drwxrwxr-x 2 don svn 22144 Jul 27 09:21 db
>
> Apache runs as nobody and nobody is a member of svn group
>
> Here is the httpd.conf
>
> <Location /svn/repos>
> DAV svn
> SVNPath /driveb/svn/pcsmail81
> </Location>
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> Guidance?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
could not open the requested SVN filesystem
Posted by Don Vawter <do...@vawter.com>.
svn co httpd://svn.vawter.com:97/svn/repos pcsmail81
The apache error log indicates an
Wed Jul 28 17:29:05 2004] [error] [client 127.0.0.1] (20014)Error string
not specified yet: Berkeley DB error while opening environment for
filesystem /driveb/svn/pcsmail81/db:\nPermission denied
-rw-rw-r-- 1 don svn 376 Jul 1 15:40 README.txt
drwxrwxr-x 2 don svn 104 Jul 1 15:40 locks
drwxrwxr-x 2 don svn 232 Jul 1 15:40 hooks
-rw-rw-r-- 1 don svn 2 Jul 1 15:40 format
drwxrwxr-x 2 don svn 48 Jul 1 15:40 dav
drwxrwxr-x 2 don svn 80 Jul 1 15:40 conf
drwxrwxr-x 2 don svn 22144 Jul 27 09:21 db
Apache runs as nobody and nobody is a member of svn group
Here is the httpd.conf
<Location /svn/repos>
DAV svn
SVNPath /driveb/svn/pcsmail81
</Location>
LoadModule authz_svn_module modules/mod_authz_svn.so
Guidance?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org