configuration-as-code-plugin/demos/mercurial
Victor Martinez 2bebd63f63 Move mercurial ITs to the demos (#1089) 2019-09-29 20:59:51 +01:00
..
README.md Move mercurial ITs to the demos (#1089) 2019-09-29 20:59:51 +01:00

README.md

Configure mercurial

Basic configuration of the Mercurial

sample configuration

tool:
  mercurialinstallation:
    installations:
      - name: "Mercurial 3"
        home: "/mercurial"
        config: |
          [defaults]
          clone = --uncompressed
          bundle = --type none          
        executable: "INSTALLATION/bin/hg"
        useCaches: true
        debug: false
        masterCacheRoot: "/cache/root"
        useSharing: false
        properties:
          - installSource:
              installers:
                - command:
                    toolHome: "mercurial"
                    label: "SomeLabel"
                    command: "[ -d mercurial ] || wget -q -O - http://www.archlinux.org/packages/extra/x86_64/mercurial/download/ | xzcat | tar xvf -"