After a command has completed, the actions in this file are executed so that you can perform operations on the repository before returning. The following formatting strings are available in addition to those in the common syntax:
Last directory affected, relative to repository root
Return code of the command
By default the string %r/%p %c is used, which passes the current directory and command on the command line.
If a command uses multiple modules, the module name used to select the line in the postcommand script is undefined. For this reason it is recommended to use only the DEFAULT and ALL lines.
Typical uses of this would be to keep a checked-out copy of a repository.