Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package 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
  • Meta
  • buck
  • Merge requests
  • !32

Fetch from all remotes when trying to get the required revision

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/dpursehouse/fetch-from-all-remotes into master May 30, 2013
  • Overview 15
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: dpursehouse

Summary: If the required revision is not in the local repository, Buck tries to get it by running git fetch. However this only works if the revision is on the default remote, i.e. the one originally cloned from. If the required revision is on another remote, i.e. a forked version, it will not be fetched. Adding the --all option to git fetch fixes this.

Test Plan:

  1. Clone buck from github.
  2. Add another remote with git remote add.
  3. In the test project set .buckversion to point to a revision that is only on the other remote.
  4. Build the test project with buck build.

Signed-off-by: David Pursehouse david.pursehouse@sonymobile.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/dpursehouse/fetch-from-all-remotes