#8983 closed bug (wontfix)

sync-all get should respect branches

Reported by: ezyang Owned by: hvr
Priority: low Milestone:
Component: Trac & Git Version: 7.9
Keywords: sync-all Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

If I have ghc-7.8 checked out and I do a './sync-all get', I might expect the repositories that are retrieved would also be set for ghc-7.8. However, this does not currently appear to be the case.

This may be a little trickier, since if you're on a topic branch but you are mostly based off of master, then 'sync-all get' will fail, since the topic branch in question won't exist. So we should probably fall back in some way, rather than fail if the specified branch is not available.

At the very least, we should print a warning if we sync-all get, the main branch is not master but we checked out a copy of master in the subrepo.

Change History (2)

comment:1 Changed 14 months ago by thomie

  • Component changed from Build System to Trac & Git
  • Keywords sync-all added
  • Owner set to hvr

comment:2 Changed 10 months ago by thomie

  • Resolution set to wontfix
  • Status changed from new to closed

Note: since all repositories have been turned into git submodules, you normally don't need sync-all anymore. See git working conventions and git submodules for the new submodule workflow.

Note: See TracTickets for help on using tickets.