Hi, johannes,
Thanks for your comments.
When I removed post-commit-hook or trac-post-commit-hook, no errors
showed up. I also tried "clean up" but still getting the same
errors...
When I changed the database to Sqlite, it works fine. So I think
there are no problem on trac-post-commit-hook execution permission.
Maybe I need to debug trac-post-commit-hook script... =( I cannot
think anything else. One day if I solved it, I'll post here.
By the way, I only changed the "database" property in trac.ini to
switch between Sqlite and MySQL. Do I need to change any other files
or properties?
Tiffany
On 8月15日, 午前5:58, jtuchscherer <[EMAIL PROTECTED]> wrote:
> Hi Tiffany,
>
> This sounds more like a general subversion error than something that
> is not bound to the post commit hook. Did this error show up after you
> enabled the post commit hook? Did you try a clean up after you are
> adding something?
>
> The only thing I needed to check when I enabled thetrac postcommit
> hook was that subversion's apache server has all needed rights to
> execute thetrac-post-commit-hook script.
>
> HTH
> johannes
>
> On Aug 14, 7:35 am, tiffany <[EMAIL PROTECTED]> wrote:
>
>
>
> > johannes, thanks for your reply.
>
> > I'm using TortoiseSVN as my client.
> > Whenever I commited (after added, modified, or deleted), the following
> > errors showed up on the console. Something is wrong at MERGE.
> > ===
> > Adding: test\aaa.txt
> > Sending content: test\aaa.txt
> > Error: Commit failed (details follow):
> > Error: MERGE request failed on '/repos/test'
> > Error: MERGE of '/repos/test': 200 OK (http://...)
> > ===
>
> > Then, after I added a file and use the "update" command, I got the
> > following error.
> > ===
> > Error: Failed to add file 'test\aaa.txt': object of the same name
> > already exists
> > ===
>
> > When I deleted the .svn folder, I can use the "update" command without
> > any error. I can get the updated files and folders, and the files
> > that I added above as well.
>
> > Thanks.
>
> > On 8月14日, 午前1:24, jtuchscherer <[EMAIL PROTECTED]> wrote:
>
> > > Hi there,
>
> > > The post commit hook works fine for us with the same setup you have.
> > > If you let me know what problems you have I will try tohelpyou
> > > sorting them out.
>
> > > Best,
> > > johannes
>
> > > On Aug 13, 8:44 am, tiffany <[EMAIL PROTECTED]> wrote:
>
> > > > Hi.
>
> > > > I'm using Trac0.10.4, SVN1.4.4, and MySQL4.x on Linux.
> > > > I want to use thetrac-post-commit-hook, but it only works for Sqlite.
> > > > Does anyone know how to make it work for MySQL?
>
> > > > Thanks in advance.- 引用テキストを表示しない -
>
> > > - 引用テキストを表示 -- 引用テキストを表示しない -
>
> - 引用テキストを表示 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---