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

post-commit : automation

From: Ashwin Patil <ashwin.patil_at_robosoftin.com>
Date: Sat, 6 Jun 2009 14:49:45 +0530

Dear All, Hi

I am trying to automate some processes through the post-commit file invoke,
Everything is working fine but I want it to be run in the background so
that the SVN client need not wait to complete the process and but should
complete the commit and exit.

Basically I have a shell script say "/usr/local/bin/archive_process" and
want it to be invoke through the post-commit when a particular repository
commits. All it is working fine but the client is exiting with an error
"time out error" as the "/usr/local/bin/archive_process" takes long time to
complete process and exit. But however commit completes properly.

I tried by adding the "&" at the end of the "/usr/local/bin/archive_process"
in the post-commit file but no help.

Please help me, how I can make it success.

 -----------------------------post-commit----------------------------------

#$1-repository path

#$2-revision number

# The bellow shell script archive the data [server copy and checkout copy]

/usr/bin/sudo /usr/local/bin/archive_process $1 $2 &

exit

-----------------------------end of
file -------------------------------------

  Regards
Ashwin Patil

-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2359945

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-06 11:21:40 CEST

This is an archived mail posted to the Subversion Users mailing list.