Next: , Previous: , Up: Configuration   [Contents][Index]


2.5 Named configurations

A named configuration is a compound statement in the vcsync.conf file that defines configuration settings to be used on request. It is defined as follows:

config name {
   statements
}

Here, name is a unique name identifying this configuration and statements is one or more configuration statements discussed above.

The use of a particular named configuration can be requested from the command line using the -N (--name) command line option, e.g.:

vcsync --name=svn

Named configuration are also used if the VCS type is not specified explicitly. This is covered by the next section.