[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

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

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)
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,
libsvn._core.SubversionException: ('No such revision 11', 160006)
And I couldnt find any help from internet.
svnadmin, version 1.6.2 (r37639)
   compiled May 15 2009, 12:58:28
svn, version 1.5.1 (r32289)
   compiled Oct 6 2008, 12:54:52

Can anyone help me?
Thank you very much!

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.