Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L liquidprompt
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Johann Dreo
  • liquidprompt
  • Merge requests
  • !53

Disable SCM early if its command is missing

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Johann Dreo requested to merge github/fork/dolmen/feature/auto-disable-SCM into develop Aug 16, 2012
  • Overview 1
  • Commits 3
  • Pipelines 0
  • Changes 1

Created by: dolmen

LP_ENABLE_{GIT,SVN,HG} is set to 0 if its command is not available in $PATH.

@ldidry Also fixes errors in handling of the LP_ENABLE_{GIT,SVN,HG} variables:

  • Shell functions do not return a string but an error code. 4b42dffb
  • Boolean type does not exist in shell, so we now only handle == 1 or != 1. 7d4ca770
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/dolmen/feature/auto-disable-SCM