Commits

Angel Ezquerra  committed a3e6784

Add a "Configuration Examples" section to the README.

  • Participants
  • Parent commits 17927ed

Comments (0)

Files changed (1)

 .. __: mailto:mercurial-devel@selenic.com
 
 
+Configuration Examples
+----------------------
+
+#) Accept all project configurations from all servers, without confirmation:
+
+The least safe configuration for this extension is one that accepts
+all project settings from all servers without any confirmation prompt:
+
+include = *
+servers = *
+confirm = False
+
+#) Accept all project configurations from the default pull sources:
+
+This makes sure that the projrc file is transferred to clones of clones
+
+include = *
+servers = default
+confirm = False
+
+#) Accept all project configurations except the [hooks] section from
+the default pull sources:
+
+exclude = hooks
+servers = default
+confirm = False
+
+#) Accept all project configurations except the [hooks] section from
+the default pull sources, but prompt to accept configuration changes:
+
+exclude = hooks
+servers = default
+
+#) Only get the commit hook from the project configuration file, from
+the central repository, but prompt to accept configuration changes:
+
+include = hooks.commit
+servers = http://mercurial/*
+
+
 Sponsoring
 ----------