Hi,
I set post-commit hook as ' VisualSVNServerHooks.exe commit-
notification -r %2 --from myem...@xxx.com --to myem...@xxx.com --smtp-
server XXX.XX.11.11  "%1" '
after I commit a new file like " /framework/src/com/add/framework/
profile/ServerStatusListener.java" I can get mail1 :
-------------------------------------------------------mail1
start-----------------------------------------------------------------------------------
first commit
Changed paths:
A  /framework/src
A  /framework/src/com
A  /framework/src/com/add
A  /framework/src/com/add/framework
A  /framework/src/com/add/framework/profile
A  /framework/src/com/add/framework/profile/ServerStatusListener.java

Added: framework/src/com/add/framework/profile/
ServerStatusListener.java
===================================================================
--- framework/src/com/add/framework/profile/ServerStatusListener.java
(rev
0)
+++ framework/src/com/addframework/profile/
ServerStatusListener.java2009-02-0908:39:33 UTC (rev 37)
@@ -0,0 +1,59 @@
+package com.add.framework.profile;
+
+import java.net.InetAddress;
+import javax.servlet.ServletContextEvent;
+import javax.servlet.ServletContextListener;
+public class ServerStatusListener implements ServletContextListener {
+
+  ....(all the code)...
+
}
------------------------------------------------mail1
end----------------------------------------------------------------------

but I just want the mail content like mail2:
------------------------------------------------mail2
start----------------------------------------------------------------------
first commit
Changed paths:
A  /framework/src
A  /framework/src/com
A  /framework/src/com/add
A  /framework/src/com/add/framework
A  /framework/src/com/add/framework/profile
A  /framework/src/com/add/framework/profile/ServerStatusListener.java

Added: framework/src/com/add/framework/profile/
ServerStatusListener.java
------------------------------------------------mail2
end----------------------------------------------------------------------


On 2月9日, 下午10时14分, VisualSVN Support <supp...@visualsvn.com> wrote:
> Hi!
>
> Could you please provide us an example of your hook command and 
> theemailnotification you've got?
>
> > but i just need the memo and file nameslist in the
>
> Please could you specify what information would you like to have in
> theemailnotification?
>
> Thank you!
>
> On Mon, Feb 9, 2009 at 11:28 AM, bengan <jm_ben_...@hotmail.com> wrote:
>
> > I set Post-Commit Hook to sendemailwhen commit or update.
> > the setting like:http://www.visualsvn.com/support/topic/00018/
>
> > i can got the mail like blow ,but i just need the memo and file names
> > list in the . how to set it???
>
> --
> Olga DolidzeVisualSVNSupport

Reply via email to