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

problem on email notification hook

From: fengbin <arithdon_at_gmail.com>
Date: Tue, 23 Jun 2009 12:47:32 +0800

Hi,
I am new svn user and met a problem which I couldnt fix via google.

I am trying to setup email notification on commit. And my steps in as
following:

1.Create a repository by hello and only hello.c inside
2.in the hook directory of hello I enable the email notification by using
  mailer.py commit "$REPOS" "$REV" in post-commit script
3.then I do commit in svn client and found the following issue.

libsvn._core.SubversionException: ("Expected version '3' of repository;
found version '5'", 165005)

   then I change the value in format file from 5 to 3 and commit agin. This
error disappeared but a new
error comes out:
Warnning:post-commit hook failed (exit code 1) with output:
Traceback (most recent call last):
  File "/home/svn_tools/mailer.py", line 797, in ?
    author, propname)
  File
"/usr/src/build/554293-i386/install/usr/lib/python2.3/site-packages/svn/core.py",
line 33, in run_app
  File "/home/svn_tools/mailer.py", line 37, in main
    repos = Repository(repos_dir, rev, pool)
  File "/home/svn_tools/mailer.py", line 601, in __init__
    self.root_this = self.get_root(rev)
  File "/home/svn_tools/mailer.py", line 613, in get_root
    root = self.roots[rev] = svn.fs.revision_root(self.fs_ptr, rev,
self.pool)
libsvn._core.SubversionException: ('No such revision 11', 160006)
And I couldnt find any help from internet.
BTW:
svnadmin
svnadmin, version 1.6.2 (r37639)
   compiled May 15 2009, 12:58:28
svn
svn, version 1.5.1 (r32289)
   compiled Oct 6 2008, 12:54:52

Can anyone help me?
Thank you very much!

-- 
arithdon
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2364390
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-23 06:53:16 CEST

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.