While it is generally okay to add new commit transaction properties via a hook script, essentially everything else about a commit transaction should be considered read-only.
Während es im Allgemeinen in Ordnung geht, einer Commit-Transaktion neue Eigenschaften über ein Hook-Skript hinzuzufügen, sollte im Wesentlichen alles andere an einer Commit-Transaktion als nur-lesbar betrachtet werden.
While most clients will transmit ephemeral transaction properties early enough in the commit process that they may be inspected by the start-commit hook script, some configurations of Subversion will cause those properties to not be set on the transaction until later in the commit process.
Obwohl die meisten Clients die flüchtigen Transaktions-Eigenschaften früh genug im Übertragungsprozess schicken, so dass das start-commit Hook-Skript sie untersuchen kann, kann es vorkommen, dass es bei einigen Konfigurationen von Subversion dazu kommen, dass diese Eigenschaften erst später im Übertragungsprozess gesetzt werden.
Each property is for one specific hook script type.
There are currently six types of hook script available
Introduction to SMARTS Adapters, The Command Line Interface Functions, SNMP Trap Receiver, Advanced processing using a hook script, Syslog Adapter, Notification Adapter processing
Einführung in SMARTS-Adapter, Funktionen der Befehlszeilenschnittstelle (CLI), SNMP Trap Receiver, erweiterte Verarbeitung mit einem Hook-Skript, Syslog Adapter, Notification Adapter-Verarbeitung
This directory contains hook script templates and hook scripts, if any have been installed.
Dieses Verzeichnis beinhaltet Hook-Skript-Vorlagen und Hook-Skripte, sofern welche installiert worden sind.
Learn about scalable hook script management with several servers and repositories
Erlernen des skalierbaren Hook Skript Managements mit mehreren Servern und Repositories
The third common type of hook script usage is for the purpose of replication.
Der dritte verbreitete Anwendungsfall für Hook-Skripte ist zum Zweck der Replizierung.
Subversion server function, repository structure, hook script basics
Subversion Server Funktion, Repository Struktur, Hook Skript Grundlagen
Next you must specify the command line to execute, starting with the path to the hook script or executable.
Als nächstes müssen Sie den auszuführenden Befehl angeben, beginnend mit den Pfad zum Aktionsskript bzw. zur ausführbaren Datei.
If you have direct access to the repository server, you can install a pre-commit hook script which rejects all commits with an empty or too short log message.
Wenn Sie direkten Zugriff auf den Subversion Server haben, können Sie ein pre-commit Aktionsskript installieren, das alle Übertragungen mit leeren oder zu kurzen Logmeldungen ablehnt.
If the client reports itself as having mergeinfo capabilities, the hook script can allow the commit to start.
Wenn der Client meldet, dass er mit mergeinfo umgehen kann, kann das Skript den Beginn der Übergabe erlauben.
The hook script receives a list of all checked files and folders and the commit message if there was one entered.
An das Aktionsskript wird eine Liste aller markierten Dateien sowie die Logmeldung übergeben, falls eine eingetragen wurde.