Re: [ANN] Artifacts for Web - free Subversion-style bug tracker

2010-06-03 Thread Fyodor Sheremetyev
Hi Rob,

Thanks for your feedback!

On Thu, Jun 3, 2010 at 6:14 AM, Rob Brandt  wrote:
> This is very interesting.  But it looks to me like it links to javascript on
> your server in order to function?  In other words, if I need access to my
> bug tracker and your server is - for some reason - offline, I'm SOL?

There are several options for working offline.

1. We are implementing HTML5 Offline Applications support so it will
"just work" in modern browsers.

2. You could put scripts on your server (for example, add them to the
Subversion repository). But you will not get automatic updates in this
case.

3. You could use Artifacts as a standalone application
(http://www.versioned.com/support/0003/) or from Visual Studio. But
it's $19.

Thanks,
Fyodor


Re: Vague error with subversion + apache22 + freebsd

2010-06-03 Thread Michael Zatopek


On Jun 2, 2010, at 5:53 PM, Johan Corveleyn wrote:

On Wed, Jun 2, 2010 at 8:46 PM, Michael Zatopek  
 wrote:

Hi,

I'm getting a vague error. I have subversion set up through apache on
freebsd(all installed through ports). I'm working with a large  
repository

containing lots of large files which I've migrated over from an older
similar install on another machine using svnadmin dump/restore.

I can navigate to the repository in firefox, see, and download files
(including large binary files) without any problem. I can check  
out portions
of the repository from the command line using http on the machine  
running
the server (svn checkout http://my.host.name/vault) without a  
problem.


However, when doing a checkout onto any other remote system  
(windows or
unix, using command line, or tortoisesvn), it grabs the first few  
folders
but on hitting the first file(happens to be about 14mb) it gives  
this error:


svn: REPORT of '/vault/!svn/vcc/default': 200 OK (http:// 
my.host.name)


On the server side I get the following errors from apache:

[Wed Jun 02 13:43:10 2010] [info] [client X.X.X.X] (32)Broken pipe:
core_output_filter: writing data to the network
[Wed Jun 02 13:43:10 2010] [error] [client X.X.X.X] Provider  
encountered an

error while streaming a REPORT response.  [500, #0]
[Wed Jun 02 13:43:10 2010] [error] [client X.X.X.X] A failure  
occurred while

driving the update report editor  [500, #53]
[Wed Jun 02 13:43:10 2010] [error] [client X.X.X.X] Error writing  
base64

data: Software caused connection abort  [500, #53]

I'm running:
svn, version 1.6.11 (r934486)
Server version: Apache/2.2.15 (FreeBSD)
FreeBSD 8.0-RELEASE

I've dug around and seen people with similar messages, either  
related to
problems not applicable to my setup or bugs fixed in earlier  
versions of

subversion.

Any ideas for things to try would be greatly appreciated.


Just a quick drive-by shot: take a look at networking components
between client and server (firewalls, proxies, ...). My prime suspect
would be a proxy (or proxy settings). Some proxies don't interoperate
well with svn (more particularly, some proxies have trouble with some
of the WebDAV methods that svn uses).

If there's no proxy and no firewall involved, I have no idea ...

Cheers,
--
Johan


There is a simple NAT/Firewall (no proxy) between my windows desktop  
and the subversion server, which never caused a problem before  
connecting to our previous server in the same location. The unix box  
I tested from and got the same error has nothing between it and the  
server (both on public IP addresses with nothing but an ethernet  
switch between them). With that said, I'll do a few minutes of poking  
around to make sure there's not something hiding in my network  
configuration. In the meantime any other drive-by shots are very  
welcome.


Thanks,

Michael


Wanted: pre-commit hook to prevent commits to externals definition

2010-06-03 Thread David Aldrich
Hi

Please can anyone point me to an example of a svn pre-commit hook that prevents 
commits to files that are members of an externals definition?

We want to allow such files to be committed only from within the external 
directory, i.e. where they originate from.

Best regards

David


Re: post-commit script sends a void message

2010-06-03 Thread Mauro Gatti
Hi Ryan,
I modified the pot-commit script as you recommended.
Last two lines contain the echo of $1 and $2.
Of course there is something wrong but I can't figure out what it is.

I got these error in the log file:


 more /tmp/post-commit.log
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Child process exited: 512
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Child process exited: 512
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Use of uninitialized value in substitution (s///) at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1233.
Use of uninitialized value in substitution (s///) at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1234.
Child process exited: 512
Use of uninitialized value in substr at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.
substr outside of string at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 
1303.
Use of uninitialized value in index at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1304.
Use of uninitialized value in substitution (s///) at (eval 8) line 1.
Use of uninitialized value in print at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify/HTML.pm line 323.
Use of uninitialized value in substitution (s///) at (eval 8) line 1.
Use of uninitialized value in print at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify/HTML.pm line 326.
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Child process exited: 512
Repos= /opt/data/svn_repositories/unix
Rev= 12



Do you have any idea?

Thank You again

Regards

Mauro







From: Ryan Schmidt 
To: Mauro Gatti 
Cc: users@subversion.apache.org
Sent: Tue, June 1, 2010 11:23:39 PM
Subject: Re: post-commit script sends a void message


On Jun 1, 2010, at 06:52, Mauro Gatti wrote:

> Ryan Schmidt wrote on Tue, June 1, 2010 at 12:40:
> 
>> On Jun 1, 2010, at 05:31, Mauro Gatti wrote:
>> 
>> > #!/bin/sh
>> > MAIL_LIST="/opt/data/svn_repositories/email.list"
>> > PATH_TO_REPOS="/opt/data/svn_repositories/"
>> > REPOS="$1"
>> > REV="$2"
>> > while read line
>> > do
>> > /usr/bin/svnnotify -r "$REV" -C -d -H Alternative \
>> >  --alt HTML::ColorDiff -p "$PATH_TO_REPOS$REPOS" -t "$line" \
>> >  --from 'SVN @ Collaboration Server  '
>> > done<$MAIL_LIST
>> > 
>> > 
>> > Does anybody has any idea about what is happening?
>> 
>> Inspect the value of the $REPOS variable. You should find it already 
>> contains the full path to the repository. Therefore perhaps you want:
>> 
>> 
>> #!/bin/sh
>> MAIL_LIST="/opt/data/svn_repositories/email.list"
>> REPOS="$1"
>> REV="$2"
>> while read line
>> do
>> /usr/bin/svnnotify -r "$REV" -C -d -H Alternative \
>> --alt HTML::ColorDiff -p "$REPOS" -t "$line" \
>> --from 'SVN @ Collaboration Server  '
>> done<$MAIL_LIST
>> 
> 
> Actually I added at the bottom of the script:
> 
> echo "Repos= $REPOS" >> /tmp/post-commit.log
> echo "Rev= $REV" >> /tmp/post-commit.log
> 
> and I checket the file so created.
> Both $REPOS and $REV seem well valorized. In particular $REPOS created as 
> $PATH_TO_REPOS$REPOS seems well formed with a full path aspect.


Hmm. I wasn't aware it was possible for $1 to not contain the full absolute 
path to the repository. I wonder why in your case it isn't.

But ignoring that for a moment, I think we can assume *some* error is 
occurring, perhaps in the svnnotify script, and that maybe it is printing 
information to stderr which would be helpful in resolving it. You should try 
logging stderr to a file so you can see it, e.g.:

while read line
do
/usr/bin/svnnotify -r "$REV" -C -d -H Alternative \
--alt HTML::ColorDiff -p "$REPOS" -t "$line" \
--from 'SVN @ Collaboration Server  '
done<$MAIL_LIST 2>>/tmp/post-commit.log



Building Subversion 1.6.11 on AIX 6.1

2010-06-03 Thread Justin Johnson
Hello,

I have been trying to compile Subversion 1.6.11 on AIX 6.1.  Every time I
get a successful build, the resulting executables segfault.  Does anyone
have any suggestions as to what I might be doing wrong?

I have gcc 4.0.0 installed but am not building with it due to some syntax
errors I was receiving in part of the build.  If the answer is to go with
gcc I can provide that info, and assume I'll need to get a newer version of
gcc installed.



$ /svn/svn-1.6.11/bin/svn
Type 'svn help' for usage.
$ /svn/svn-1.6.11/bin/svn help
Segmentation fault

$ ldd /svn/svn-1.6.11/bin/svn
/svn/svn-1.6.11/bin/svn needs:
 /usr/lib/libiconv.a(shr4_64.o)
 /usr/lib/libpthread.a(shr_xpg5_64.o)
 /svn/svn-1.6.11/lib/libz.so
 /usr/lib/libc.a(shr_64.o)
 /unix
 /usr/lib/libcrypt.a(shr_64.o)


$ uname -a
AIX HOSTNAME 1 6 00CFFB1E4C00

$ lslpp -l|grep -i compiler
  vac.C 10.1.0.0  COMMITTED  IBM XL C Compiler
  vac.html.common.search10.1.0.0  COMMITTED  XL C for AIX Compiler Help
  vac.html.en_US.C  10.1.0.0  COMMITTED  XL C for AIX Compiler
  vac.include   10.1.0.0  COMMITTED  IBM XL C Compiler Include
  vac.man.en_US 10.1.0.0  COMMITTED  IBM XL C Compiler Man
  vac.msg.en_US.C   10.1.0.0  COMMITTED  XL C for AIX Compiler
  vac.pdf.en_US.C   10.1.0.0  COMMITTED  XL C for AIX Compiler
  vacpp.cmp.core10.1.0.0  COMMITTED  IBM XL C/C++ Compiler
  vacpp.cmp.include 10.1.0.0  COMMITTED  IBM XL C/C++ Compiler
Include
  vacpp.cmp.rte 10.1.0.0  COMMITTED  IBM XL C/C++ Compiler
  vacpp.man.en_US   10.1.0.0  COMMITTED  IBM XL C/C++ Compiler Man
  vacpp.msg.en_US.cmp.core  10.1.0.0  COMMITTED  IBM XL C/C++ Compiler
  vacpp.samples.ansicl  10.1.0.0  COMMITTED  IBM XL C/C++ Compiler ANSI
  xlhelp.com 3.1.2.0  COMMITTED  XL Compiler Information
Center
  xlhelp.html.en_US  3.1.2.0  COMMITTED  XL Compiler Common
  vac.C 10.1.0.0  COMMITTED  IBM XL C Compiler
  vacpp.cmp.core10.1.0.0  COMMITTED  IBM XL C/C++ Compiler



## Define variables
base_dir=/svn
build_dir=$base_dir/build
svn_build_dir=$build_dir/subversion-1.6.11
downloads_dir=$base_dir/downloads
prefix=/svn/svn-1.6.11

## Initialize directories
rm -rf $build_dir
rm -rf $prefix
mkdir -p $build_dir

## Extract code
cd $build_dir
bunzip2 -c $downloads_dir/subversion-1.6.11.tar.bz2 | tar -xvf -
bunzip2 -c $downloads_dir/subversion-deps-1.6.11.tar.bz2 | tar -xvf -

## Build Subversion
cd $svn_build_dir

export CC=xlc
export CXX=xlC
export OBJECT_MODE=64
export CONFIG_SHELL="/usr/bin/bash"
export LDFLAGS="-L$prefix/lib"
export CFLAGS="-I$prefix/include"
export CPPFLAGS="-I$prefix/include"

cd $svn_build_dir/zlib
./configure --prefix=$prefix
make
make install

cd $svn_build_dir
./configure --prefix=$prefix --with-zlib=$prefix --enable-static
--enable-all-static --disable-shared
make
make install


Re: post-commit script sends a void message

2010-06-03 Thread Mauro Gatti
Hi Ryan,
I added two flags to svnnotify:
--svnlook  
--sendmail  
and now i got only these two errors:

substr outside of string at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 
1303.
Use of uninitialized value in index at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.


Anyway now I can see a well formatted message.

Do you know why this still happens?

Thank You

Regards

Mauro





From: Mauro Gatti 
To: Ryan Schmidt 
Cc: users@subversion.apache.org
Sent: Thu, June 3, 2010 4:57:31 PM
Subject: Re: post-commit script sends a void message


Hi Ryan,
I modified the pot-commit script as you recommended.
Last two lines contain the echo of $1 and $2.
Of course there is something wrong but I can't figure out what it is.

I got these error in the log file:


 more /tmp/post-commit.log
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Child process exited: 512
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Child process exited: 512
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Use of uninitialized value in substitution (s///) at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1233.
Use of uninitialized value in substitution (s///) at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1234.
Child process exited: 512
Use of uninitialized value in substr at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.
substr outside of string at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 
1303.
Use of uninitialized value in index at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1304.
Use of uninitialized value in substitution (s///) at (eval 8) line 1.
Use of uninitialized value in print at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify/HTML.pm line 323.
Use of uninitialized value in substitution (s///) at (eval 8) line 1.
Use of uninitialized value in print at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify/HTML.pm line 326.
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Child process exited: 512
Repos= /opt/data/svn_repositories/unix
Rev= 12



Do you have any idea?

Thank You again

Regards

Mauro







From: Ryan Schmidt 
To: Mauro Gatti 
Cc: users@subversion.apache.org
Sent: Tue, June 1, 2010 11:23:39 PM
Subject: Re: post-commit script sends a void message


On Jun 1, 2010, at 06:52, Mauro Gatti wrote:

> Ryan Schmidt wrote on Tue, June 1, 2010 at 12:40:
> 
>> On Jun 1, 2010, at 05:31, Mauro Gatti wrote:
>> 
>> > #!/bin/sh
>> > MAIL_LIST="/opt/data/svn_repositories/email.list"
>> > PATH_TO_REPOS="/opt/data/svn_repositories/"
>> > REPOS="$1"
>> > REV="$2"
>> > while read line
>> > do
>> > /usr/bin/svnnotify -r "$REV" -C -d -H Alternative \
>> >  --alt HTML::ColorDiff -p "$PATH_TO_REPOS$REPOS" -t "$line" \
>> >  --from 'SVN @ Collaboration Server  '
>> > done<$MAIL_LIST
>> > 
>> > 
>> > Does anybody has any idea about what is happening?
>> 
>> Inspect the value of the $REPOS variable. You should find it already 
>> contains the full path to the repository. Therefore perhaps you want:
>> 
>> 
>> #!/bin/sh
>> MAIL_LIST="/opt/data/svn_repositories/email.list"
>> REPOS="$1"
>> REV="$2"
>> while read line
>> do
>> /usr/bin/svnnotify -r "$REV" -C -d -H Alternative \
>> --alt HTML::ColorDiff -p "$REPOS" -t "$line" \
>> --from 'SVN @ Collaboration Server  '
>> done<$MAIL_LIST
>> 
> 
> Actually I added at the bottom of the script:
> 
> echo "Repos= $REPOS" >> /tmp/post-commit.log
> echo "Rev= $REV" >> /tmp/post-commit.log
> 
> and I checket the file so created.
> Both $REPOS and $REV seem well valorized. In particular $REPOS created as 
> $PATH_TO_REPOS$REPOS seems well formed with a full path aspect.


Hmm. I wasn't

FW: Subversion Compile/Test on HPUX11.11: How to review/resolve make check results?

2010-06-03 Thread NOCERA, ANDY (ATTSI)


> Hi,
> 
> I am new to building & testing SVN and I was wondering where to start
> in interpreting the failures identified from running make check.  
> 
> 
> Thanks,
> Andy
> 
> 
> 
> $ make check
> Running all tests in auth-test [1/67]...success
> Running all tests in cache-test [2/67]...success
> Running all tests in checksum-test [3/67]...success
> Running all tests in client-test [4/67]...success
> Running all tests in compat-test [5/67]...success
> Running all tests in config-test [6/67]...success
> Running all tests in diff-diff3-test [7/67]...success
> Running all tests in dirent_uri-test [8/67]...success
> Running all tests in error-test [9/67]...success
> Running all tests in fs-pack-test [10/67]...success
> Running all tests in fs-test [11/67]...success
> Running all tests in hashdump-test [12/67]...success
> Running all tests in locks-test [13/67]...success
> Running all tests in mergeinfo-test [14/67]...success
> Running all tests in opt-test [15/67]...success
> Running all tests in path-test [16/67]...success
> Running all tests in ra-local-test [17/67]...success
> Running all tests in random-test [18/67]...success
> Running all tests in repos-test [19/67]...success
> Running all tests in revision-test [20/67]...success
> Running all tests in skel-test [21/67]...success
> Running all tests in stream-test [22/67]...success
> Running all tests in string-test [23/67]...success
> Running all tests in target-test [24/67]...success
> Running all tests in time-test [25/67]...success
> Running all tests in translate-test [26/67]...success
> Running all tests in tree-conflict-data-test [27/67]...success
> Running all tests in utf-test [28/67]...FAILURE
> Running all tests in window-test [29/67]...success
> Running all tests in getopt_tests.py [30/67]...success
> Running all tests in basic_tests.py [31/67]...success
> Running all tests in checkout_tests.py [32/67]...success
> Running all tests in commit_tests.py [33/67]...success
> Running all tests in update_tests.py [34/67]...success
> Running all tests in switch_tests.py [35/67]...success
> Running all tests in 
> [36/67]...FAILURE
> Running all tests in schedule_tests.py [37/67]...success
> Running all tests in log_tests.py [38/67]...success
> Running all tests in copy_tests.py [39/67]...success
> Running all tests in diff_tests.py [40/67]...success
> Running all tests in export_tests.py [41/67]...success
> Running all tests in externals_tests.py [42/67]...success
> Running all tests in merge_tests.py [43/67]...success
> Running all tests in merge_authz_tests.py [44/67]...success
> Running all tests in revert_tests.py [45/67]...success
> Running all tests in mergeinfo_tests.py [46/67]...success
> Running all tests in stat_tests.py [47/67]...success
> Running all tests in trans_tests.py [48/67]...success
> Running all tests in autoprop_tests.py [49/67]...success
> Running all tests in blame_tests.py [50/67]...success
> Running all tests in special_tests.py [51/67]...success
> Running all tests in svnadmin_tests.py [52/67]...success
> Running all tests in svnlook_tests.py [53/67]...success
> Running all tests in svnversion_tests.py [54/67]...success
> Running all tests in utf8_tests.py [55/67]...success
> Running all tests in history_tests.py [56/67]...success
> Running all tests in lock_tests.py [57/67]...success
> Running all tests in cat_tests.py [58/67]...success
> Running all tests in import_tests.py [59/67]...success
> Running all tests in svnsync_tests.py [60/67]...success
> Running all tests in authz_tests.py [61/67]...success
> Running all tests in depth_tests.py [62/67]...success
> Running all tests in svndumpfilter_tests.py [63/67]...success
> Running all tests in changelist_tests.py [64/67]...success
> Running all tests in info_tests.py [65/67]...success
> Running all tests in tree_conflict_tests.py [66/67]...success
> Running all tests in resolved_tests.py [67/67]...success
> At least one test was SKIPPED, checking
> /usr/local/svn_build/subversion-1.6.9/tests.log
> SKIP:  cache-test 2: basic memcache svn_cache test
> SKIP:  cache-test 3: memcache svn_cache with very long keys
> SKIP:  update_tests.py 32: update wc on the root of a Windows
> (virtual) drive
> SKIP:  merge_tests.py 101: commits to subtrees added by merge wreak
> havoc
> SKIP:  merge_authz_tests.py 1: skipped paths get overriding mergeinfo
> SKIP:  utf8_tests.py 1: conversion of paths and logs to/from utf8
> SKIP:  svnsync_tests.py 14: verify that unreadable content is not
> synced
> SKIP:  svnsync_tests.py 15: verify that copies from unreadable dirs
> work
> SKIP:  svnsync_tests.py 16: verify copies with mods from unreadable
> dirs
> SKIP:  svnsync_tests.py 17: verify copies with mods from unreadable
> dirs +copy
> SKIP:  authz_tests.py 1: authz issue #2486 - open root
> SKIP:  authz_tests.py 2: authz issue #2486 - open directory
> SKIP:  authz_tests.py 3: broken authz files cause errors
> SKIP:  authz_tests.py 4: test authz for read operations
> SKIP:  authz_tests.py 5:

Re: FW: Subversion Compile/Test on HPUX11.11: How to review/resolve make check results?

2010-06-03 Thread Hyrum K. Wright
On Thu, Jun 3, 2010 at 1:26 PM, NOCERA, ANDY (ATTSI)  wrote:

>
>
> Hi,
>
> I am new to building & testing SVN and I was wondering where to start in
> interpreting the failures identified from running make check.
>
> Thanks,
> Andy
>
>
> $ make check
> Running all tests in auth-test [1/67]...success
> Running all tests in cache-test [2/67]...success
> Running all tests in checksum-test [3/67]...success
> Running all tests in client-test [4/67]...success
> Running all tests in compat-test [5/67]...success
> Running all tests in config-test [6/67]...success
> Running all tests in diff-diff3-test [7/67]...success
> Running all tests in dirent_uri-test [8/67]...success
> Running all tests in error-test [9/67]...success
> Running all tests in fs-pack-test [10/67]...success
> Running all tests in fs-test [11/67]...success
> Running all tests in hashdump-test [12/67]...success
> Running all tests in locks-test [13/67]...success
> Running all tests in mergeinfo-test [14/67]...success
> Running all tests in opt-test [15/67]...success
> Running all tests in path-test [16/67]...success
> Running all tests in ra-local-test [17/67]...success
> Running all tests in random-test [18/67]...success
> Running all tests in repos-test [19/67]...success
> Running all tests in revision-test [20/67]...success
> Running all tests in skel-test [21/67]...success
> Running all tests in stream-test [22/67]...success
> Running all tests in string-test [23/67]...success
> Running all tests in target-test [24/67]...success
> Running all tests in time-test [25/67]...success
> Running all tests in translate-test [26/67]...success
> Running all tests in tree-conflict-data-test [27/67]...success
> Running all tests in utf-test [28/67]...FAILURE
> Running all tests in window-test [29/67]...success
> Running all tests in getopt_tests.py [30/67]...success
> Running all tests in basic_tests.py [31/67]...success
> Running all tests in checkout_tests.py [32/67]...success
> Running all tests in commit_tests.py [33/67]...success
> Running all tests in update_tests.py [34/67]...success
> Running all tests in switch_tests.py [35/67]...success
> Running all tests in
> [36/67]...FAILURE
> Running all tests in schedule_tests.py [37/67]...success
> Running all tests in log_tests.py [38/67]...success
> Running all tests in copy_tests.py [39/67]...success
> Running all tests in diff_tests.py [40/67]...success
> Running all tests in export_tests.py [41/67]...success
> Running all tests in externals_tests.py [42/67]...success
> Running all tests in merge_tests.py [43/67]...success
> Running all tests in merge_authz_tests.py [44/67]...success
> Running all tests in revert_tests.py [45/67]...success
> Running all tests in mergeinfo_tests.py [46/67]...success
> Running all tests in stat_tests.py [47/67]...success
> Running all tests in trans_tests.py [48/67]...success
> Running all tests in autoprop_tests.py [49/67]...success
> Running all tests in blame_tests.py [50/67]...success
> Running all tests in special_tests.py [51/67]...success
> Running all tests in svnadmin_tests.py [52/67]...success
> Running all tests in svnlook_tests.py [53/67]...success
> Running all tests in svnversion_tests.py [54/67]...success
> Running all tests in utf8_tests.py [55/67]...success
> Running all tests in history_tests.py [56/67]...success
> Running all tests in lock_tests.py [57/67]...success
> Running all tests in cat_tests.py [58/67]...success
> Running all tests in import_tests.py [59/67]...success
> Running all tests in svnsync_tests.py [60/67]...success
> Running all tests in authz_tests.py [61/67]...success
> Running all tests in depth_tests.py [62/67]...success
> Running all tests in svndumpfilter_tests.py [63/67]...success
> Running all tests in changelist_tests.py [64/67]...success
> Running all tests in info_tests.py [65/67]...success
> Running all tests in tree_conflict_tests.py [66/67]...success
> Running all tests in resolved_tests.py [67/67]...success
> At least one test was SKIPPED, checking
> /usr/local/svn_build/subversion-1.6.9/tests.log
> SKIP:  cache-test 2: basic memcache svn_cache test
> SKIP:  cache-test 3: memcache svn_cache with very long keys
> SKIP:  update_tests.py 32: update wc on the root of a Windows (virtual)
> drive
> SKIP:  merge_tests.py 101: commits to subtrees added by merge wreak havoc
> SKIP:  merge_authz_tests.py 1: skipped paths get overriding mergeinfo
> SKIP:  utf8_tests.py 1: conversion of paths and logs to/from utf8
> SKIP:  svnsync_tests.py 14: verify that unreadable content is not synced
> SKIP:  svnsync_tests.py 15: verify that copies from unreadable dirs work
> SKIP:  svnsync_tests.py 16: verify copies with mods from unreadable dirs
> SKIP:  svnsync_tests.py 17: verify copies with mods from unreadable dirs
> +copy
> SKIP:  authz_tests.py 1: authz issue #2486 - open root
> SKIP:  authz_tests.py 2: authz issue #2486 - open directory
> SKIP:  authz_tests.py 3: broken authz files cause errors
> SKIP:  authz_tests.py 4: test authz for

Insert revision into file history

2010-06-03 Thread Thomas 'PointedEars' Lahn
Hello,

I would like to insert an older version of a file that is already in a 
repository as a specific revision of that repository.

I have searched in the SVN book, searched with Google with keywords like 
"subversion file history", asked in a local newsgroup, and scanned through 
the messages here since mid of March to no avail.

I think my problem is a rather complex one to describe, so I am trying to be 
concise.  If you need more details to give me a hint, just ask and I'll 
provide them.

One should probably usually not do what I ask about, but I needed to do it, 
might need to do it again, and this is why:

I have a rather old project where I did not use Subversion from the start.  
Instead, I made backup copies in backup directories, one for each file, 
before I did major changes in the original file.  Once I became aware of the 
benefits of SVN, I wanted to migrate everything into a repository, to have 
the full project history in there.  So I wrote a shell script that copied 
the backup copies to my new working copy and committed the files in the 
correct order, setting svn:date accordingly.

The problem was that this script missed to commit the first version of a 
file, and I noticed that only after I had already worked with the repository 
for quite a while.  This is how I solved it (apparently, somewhat):

On the server:

 1. Backup the entire repository $PROJECT to $BACKUP.
 2. svnadmin dump $BACKUP -r 0:6 > $PROJECT-0-6.svndump
(6 was the revision with an svn:date just before the date of the old
 version to be inserted)
 3. Delete $PROJECT.
 4. svnadmin create $PROJECT, restore config and hooks (except post-commit).
 5. svnadmin load $PROJECT < $PROJECT-0-6.svndump

On the client:

 6. svn checkout svn://$HOST/$PATH/$PROJECT/trunk .
 7. Copy older version from backup directory to working copy,
svn add ..., svn commit.

Back on the server:

 8. svnadmin dump $BACKUP -r 7:15 --incremental > $PROJECT-7-15.svndump
(16 was the revision where the file was previously first committed,
 no other changes in that revision)

 9. svnadmin load $PROJECT < $PROJECT-7-15.svndump
10. svnadmin dump $BACKUP -r 16 > $PROJECT-16.svndump
11. Edit $PROJECT-16.svndump to change

  Node-action: add

into

  Node-action: change

(otherwise `svnadmin load' would error out "path already exists")

12. svnadmin load $PROJECT < $PROJECT-16.svndump
13. svnadmin dump $BACKUP -r 17:HEAD --incremental >
  $PROJECT-17-HEAD.svndump
14. svnadmin load $PROJECT < $PROJECT-17-HEAD.svndump
15. Update svn:date of new revision 7, restore of post-commit hook.  

However, the issues I have with my solution are:

 1. It is rather tedious to implement and eats up time better spent for
development.

 2. I don't see how it could be automated.

 3. I have noticed that the working copies can no longer be
updated/committed as the checksum does not match.  This is a big problem
if I want to go fully open source with that project, as potential
contributors would need to rebuild their working copies every time
I find another such glitch.

SVN version on the client was/is 1.6.11 (Debian package); the server runs 
`svnserve -d' from SVN 1.5.1 (Debian package).

Which better/easier/faster way to do this am I missing?  Thank you very much 
in advance for any suggestions.


Regards,

PointedEars



How to delete directory with at symbol in the name

2010-06-03 Thread Russell E Glaue
If you accidentally put the at symbol in a directory name like this:

svn copy http://svn.domain.com/repos/trunk/my...@49 http://svn.domain.com/repos
/trunk/my...@head -m "bring back rev 49 from the dead"

You end up with the following path in HEAD: '/trunk/my...@head/'
Where '@HEAD' is part of the actual directory name.

How would you delete this 'my...@head' directory?

Using svn delete myd...@head or mydir@HEAD do not work.
Any help?

-RG



Re: Wanted: pre-commit hook to prevent commits to externals definition

2010-06-03 Thread Daniel Becroft
On Fri, Jun 4, 2010 at 12:12 AM, David Aldrich wrote:

> Hi
>
> Please can anyone point me to an example of a svn pre-commit hook that
> prevents commits to files that are members of an externals definition?
>
> We want to allow such files to be committed only from within the external
> directory, i.e. where they originate from.
>
> Best regards
>
> David
>

I don't have an example of such a script. *But*, I'm not sure if even such a
script could be possible. My understanding of committing w/ externals, is
that the modifications to the externals are committed separately (or even
excluded) from the main commit. This would certainly be the case for
externals pointing to a separate repository, and may be the case .

I just did a quick test (with both intra- and inter-repository external
definitions), and SVN does not seem to descend into the externals for a
commit. The externals directory has to be explicitly committed, which makes
it no different from a normal working copy.

Cheers,


Re: How to delete directory with at symbol in the name

2010-06-03 Thread Ryan Schmidt

On Jun 3, 2010, at 16:58, Russell E Glaue wrote:

> If you accidentally put the at symbol in a directory name like this:
> 
> svn copy http://svn.domain.com/repos/trunk/my...@49 
> http://svn.domain.com/repos
> /trunk/my...@head -m "bring back rev 49 from the dead"
> 
> You end up with the following path in HEAD: '/trunk/my...@head/'
> Where '@HEAD' is part of the actual directory name.
> 
> How would you delete this 'my...@head' directory?
> 
> Using svn delete myd...@head or mydir@HEAD do not work.

svn delete my...@head@





Re: Insert revision into file history

2010-06-03 Thread Ryan Schmidt
On Jun 2, 2010, at 10:20, Thomas 'PointedEars' Lahn wrote:

> I would like to insert an older version of a file that is already in a 
> repository as a specific revision of that repository.
> 
> I have searched in the SVN book, searched with Google with keywords like 
> "subversion file history", asked in a local newsgroup, and scanned through 
> the messages here since mid of March to no avail.
> 
> I think my problem is a rather complex one to describe, so I am trying to be 
> concise.  If you need more details to give me a hint, just ask and I'll 
> provide them.
> 
> One should probably usually not do what I ask about, but I needed to do it, 
> might need to do it again, and this is why:
> 
> I have a rather old project where I did not use Subversion from the start.  
> Instead, I made backup copies in backup directories, one for each file, 
> before I did major changes in the original file.  Once I became aware of the 
> benefits of SVN, I wanted to migrate everything into a repository, to have 
> the full project history in there.  So I wrote a shell script that copied 
> the backup copies to my new working copy and committed the files in the 
> correct order, setting svn:date accordingly.
> 
> The problem was that this script missed to commit the first version of a 
> file, and I noticed that only after I had already worked with the repository 
> for quite a while.  This is how I solved it (apparently, somewhat):
> 
> On the server:
> 
> 1. Backup the entire repository $PROJECT to $BACKUP.
> 2. svnadmin dump $BACKUP -r 0:6 > $PROJECT-0-6.svndump
>(6 was the revision with an svn:date just before the date of the old
> version to be inserted)
> 3. Delete $PROJECT.
> 4. svnadmin create $PROJECT, restore config and hooks (except post-commit).
> 5. svnadmin load $PROJECT < $PROJECT-0-6.svndump
> 
> On the client:
> 
> 6. svn checkout svn://$HOST/$PATH/$PROJECT/trunk .
> 7. Copy older version from backup directory to working copy,
>svn add ..., svn commit.
> 
> Back on the server:
> 
> 8. svnadmin dump $BACKUP -r 7:15 --incremental > $PROJECT-7-15.svndump
>(16 was the revision where the file was previously first committed,
> no other changes in that revision)
> 
> 9. svnadmin load $PROJECT < $PROJECT-7-15.svndump
> 10. svnadmin dump $BACKUP -r 16 > $PROJECT-16.svndump
> 11. Edit $PROJECT-16.svndump to change
> 
>  Node-action: add
> 
>into
> 
>  Node-action: change
> 
>(otherwise `svnadmin load' would error out "path already exists")
> 
> 12. svnadmin load $PROJECT < $PROJECT-16.svndump
> 13. svnadmin dump $BACKUP -r 17:HEAD --incremental >
>  $PROJECT-17-HEAD.svndump
> 14. svnadmin load $PROJECT < $PROJECT-17-HEAD.svndump
> 15. Update svn:date of new revision 7, restore of post-commit hook.  
> 
> However, the issues I have with my solution are:
> 
> 1. It is rather tedious to implement and eats up time better spent for
>development.
> 
> 2. I don't see how it could be automated.
> 
> 3. I have noticed that the working copies can no longer be
>updated/committed as the checksum does not match.  This is a big problem
>if I want to go fully open source with that project, as potential
>contributors would need to rebuild their working copies every time
>I find another such glitch.
> 
> SVN version on the client was/is 1.6.11 (Debian package); the server runs 
> `svnserve -d' from SVN 1.5.1 (Debian package).
> 
> Which better/easier/faster way to do this am I missing?  Thank you very much 
> in advance for any suggestions.

Yes, this operation is tricky to perform, because Subversion is not designed to 
let you perform it. If anybody could just go insert anything into a 
repository's history, we wouldn't be able to trust that history very well. So 
yes, getting this to work is an involved process. I'm not sure if there's an 
easier way than the one you found. I might have looked into using svndumptool 
and would have been wary of modifying dumpfiles by hand. But I'm not sure it 
could have been done with svndumptool anyway. So to answer your questions, yes, 
this operation will be tedious and manual, and yes, the repository UUID must 
change (because the repository history is different) therefore you must discard 
working copies and get new ones. Therefore this is not an operation you will 
want to attempt after a repository is already checked out by a lot of people.




Re: Wanted: pre-commit hook to prevent commits to externals definition

2010-06-03 Thread Ryan Schmidt

On Jun 3, 2010, at 18:34, Daniel Becroft wrote:

> On Fri, Jun 4, 2010 at 12:12 AM, David Aldrich  
> wrote:
> 
>> Please can anyone point me to an example of a svn pre-commit hook that 
>> prevents commits to files that are members of an externals definition?
>> 
>> We want to allow such files to be committed only from within the external 
>> directory, i.e. where they originate from.
> 
> I don't have an example of such a script. *But*, I'm not sure if even such a 
> script could be possible. My understanding of committing w/ externals, is 
> that the modifications to the externals are committed separately (or even 
> excluded) from the main commit. This would certainly be the case for 
> externals pointing to a separate repository, and may be the case .
> 
> I just did a quick test (with both intra- and inter-repository external 
> definitions), and SVN does not seem to descend into the externals for a 
> commit. The externals directory has to be explicitly committed, which makes 
> it no different from a normal working copy. 

Right. I don't think the server would be able to tell that a commit came from a 
working copy that, on the client side, had been created by an externals 
definition. I think it all looks the same to the server so I don't think such a 
hook script can be implemented.




svn:externals

2010-06-03 Thread Andersen, Krista
Hi All,

Is it possible to set depth on externals?  Can I do this via a file list?
Like this:
--depth files   prod  
http://svn-server/repo/trunk/prod
--depth infinity prod/bin  
http://svn-server/repo/trunk/prod/bin
--depth infinity prod/client-specific 
http://svn-server/repo/trunk/prod/client-specific

My first few attempts at doing this don't look promising, and I'm not seeing 
any examples online that use depth control with externals.

My situation is this:
We have a large complicated set of files that we do not want to edit.  There 
are a few random directories that we will be adding files to and modifying.  I 
want to keep the large mass of files separate from the few files we will be 
working on.

 My thought is to create a skeletal tree that mimics the structure of the large 
complicated tree - then use externals to map the large content into the 
skeletal structure during a checkout.  The problem is that both repos will 
contain similar directory structures which I expect to cause name conflicts at 
points where the data tree structures intersect.  If I can use depth control 
options then I can avoid the conflicts caused by directories with matching 
names.

Or better yet - if externals mapping can handle blending together data tree 
structures with matching directory names then I can just throw it all together 
without the depth control.

Thanks,
Krista

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient.  Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IIROC - Investment Industry Regulatory
Organization of Canada), an affiliate of Investment
Technology Group, Inc.

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member FINRA, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


Re: post-commit script sends a void message

2010-06-03 Thread Mauro Gatti
Maybe I found the problem.
It seems there is a problem in line 1030 in Noitify.pm

my $i = index substr($self->{message}[0], 10), '. '; 

What happens if the comment I insert when I commit something is less then 10 
characters and doesn't contain a period?

Thanks

Regards

Mauro








From: Mauro Gatti 
To: Ryan Schmidt 
Cc: users@subversion.apache.org
Sent: Thu, June 3, 2010 5:47:41 PM
Subject: Re: post-commit script sends a void message


Hi Ryan,
I added two flags to svnnotify:
--svnlook  
--sendmail  
and now i got only these two errors:

substr outside of string at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 
1303.
Use of uninitialized value in index at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.


Anyway now I can see a well formatted message.

Do you know why this still happens?

Thank You

Regards

Mauro





From: Mauro Gatti 
To: Ryan Schmidt 
Cc: users@subversion.apache.org
Sent: Thu, June 3, 2010 4:57:31 PM
Subject: Re: post-commit script sends a void message


Hi Ryan,
I modified the pot-commit script as you recommended.
Last two lines contain the echo of $1 and $2.
Of course there is something wrong but I can't figure out what it is.

I got these error in the log file:


 more /tmp/post-commit.log
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Child process exited: 512
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Child process exited: 512
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Use of uninitialized value in substitution (s///) at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1233.
Use of uninitialized value in substitution (s///) at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1234.
Child process exited: 512
Use of uninitialized value in substr at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.
substr outside of string at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 
1303.
Use of uninitialized value in index at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1304.
Use of uninitialized value in substitution (s///) at (eval 8) line 1.
Use of uninitialized value in print at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify/HTML.pm line 323.
Use of uninitialized value in substitution (s///) at (eval 8) line 1.
Use of uninitialized value in print at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify/HTML.pm line 326.
Use of uninitialized value in exec at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Can't exec "": No such file or directory at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
Cannot exec : No such file or directory
Child process exited: 512
Repos= /opt/data/svn_repositories/unix
Rev= 12



Do you have any idea?

Thank You again

Regards

Mauro







From: Ryan Schmidt 
To: Mauro Gatti 
Cc: users@subversion.apache.org
Sent: Tue, June 1, 2010 11:23:39 PM
Subject: Re: post-commit script sends a void message


On Jun 1, 2010, at 06:52, Mauro Gatti wrote:

> Ryan Schmidt wrote on Tue, June 1, 2010 at 12:40:
> 
>> On Jun 1, 2010, at 05:31, Mauro Gatti wrote:
>> 
>> > #!/bin/sh
>> > MAIL_LIST="/opt/data/svn_repositories/email.list"
>> > PATH_TO_REPOS="/opt/data/svn_repositories/"
>> > REPOS="$1"
>> > REV="$2"
>> > while read line
>> > do
>> > /usr/bin/svnnotify -r "$REV" -C -d -H Alternative \
>> >  --alt HTML::ColorDiff -p "$PATH_TO_REPOS$REPOS" -t "$line" \
>> >  --from 'SVN @ Collaboration Server  '
>> > done<$MAIL_LIST
>> > 
>> > 
>> > Does anybody has any idea about what is happening?
>> 
>> Inspect the value of the $REPOS variable. You should find it already 
>> contains the full path to the repository. Therefore perhaps you want:
>> 
>> 
>> #!/bin/sh
>> MAIL_LIST="/opt/data/svn_repositories/email.list"
>> REPOS="$1"
>> REV="$2"
>> while read line
>> do
>> /usr/bin/svnnotify -r "$REV"

Re: post-commit script sends a void message

2010-06-03 Thread Ryan Schmidt
On Jun 4, 2010, at 01:39, Mauro Gatti wrote:

>>> Use of uninitialized value in exec at 
>>> /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
>>> Can't exec "": No such file or directory at 
>>> /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
>> 
>> I added two flags to svnnotify:
>> --svnlook  
>> --sendmail  

Right, it looks like otherwise it doesn't know where to find your svnlook 
program.


>> and now i got only these two errors:
>> 
>> substr outside of string at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm 
>> line 1303.
>> Use of uninitialized value in index at 
>> /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.
> 
> Maybe I found the problem.
> It seems there is a problem in line 1030 in Noitify.pm
> 
> my $i = index substr($self->{message}[0], 10), '. '; 
> 
> What happens if the comment I insert when I commit something is less then 10 
> characters and doesn't contain a period?


Right, this looks like a known issue:

https://rt.cpan.org/Public/Bug/Display.html?id=50390