SVN post commit hook - find the folder where the commit was made

Our repository has the following structure:

Dev
    Project1
        source
        docs
        ...
    Project2
        source
        docs
        ...
    ...

After making changes to the sources of Project1, we would like to deploy Project1 (compilation, testing, copying, etc.). How to find out in the post-commit-hook that we made Dev / Project1 so that we can export this project and run some tasks on it? When executing the svn command (for example, using TortoiseSVN) ir it says: "Commit to: ..." How to find "commit to"?

+3
source share
2 answers

You have to use

svnlook changed -r REV REPOPATH

. SVN REPOPATH REV . ( ). grep - .

: /, svn ( "Committed Revision XX" , ).

+3

, CruiseControl.NET, post commit .

URL-, , subversion. , . () , // .

+2

Source: https://habr.com/ru/post/1720054/


All Articles