VisualSVN Server Post commit hook a specific path

How to do a post commit hook checkout a particular svn path checked in.

Right now I am only able to checkout when any file in the repository path is committed. But how to add filter to check only the particular path(/Mobile/Node/trunk) in the repository is committed.

Do I need to do the filter in pre-commit hook?

Answers


I found the solution in the below link and it worked. Why is my post-commit hook conditional statement not working when I check to see if a particular branch was committed?

svnlook dirs-changed %1 -r %2 | findstr /b /i "branches/dev"

IF %ERRORLEVEL% EQU 0 (
    pushd <path-to-working-copy>
    svn update --username <repo-username> --password <repo-password>
)

in the place of "branches/dev". I replaced with my path "/Mobile/Node/trunk"


Need Your Help

Override Swift UIColor Class Functions

objective-c iphone xcode swift user-interface

I'm trying to implement a "dark" mode feature for my iOS application in Swift 1.2 and am thinking about writing an extension or subclass of UIColor. I was wondering if it's possible to override UIC...