On Sat, Aug 30, 2008 at 08:38, sangeeth jagadish <sanioautoz_at_yahoo.co.in> wrote:
> Thanks in advance
>
> I have developed a perl script that is invoked by the pre-commit hook to
> check whether the code that is committed is free of checkstyle
> errors,adheres to the coding standards of different MIME/Extensions.
>
>
> The hook works fine when we are commiting files but when we commit a
> directory with the error output the path is not a file
>
> Please help me on this
TortoiseSVN is a Subversion *client*. Hook scripts run on the
*server*. This type of question is better directed at the Subversion
Users mailing list.
At this point, only you can help you. You've not provided any insight
into the contents of your script. The fix should be pretty simple -
you developed the script under the assumption that files would always
be committed, not just a directory. So, modify your script to check
each item that's been committed, and if it's a directory, don't
perform any operations.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-08-30 15:49:05 CEST