Opened 21 months ago

Last modified 20 months ago

#3663 new change

[meta] Update to the master bookmark after cloning/pulling

Reported by: fhd Assignee:
Priority: P2 Milestone:
Module: Infrastructure Keywords: meta
Cc: trev, matze, fred Blocked By: #1608, #3732
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by fhd)

Background

We are automatically cloning and updating repositories in various places throughout sitescripts and infrastructure. In all such cases, we should specificially update to the master bookmark, which almost all of our repositories have by now. If we don't do that, we will cause problems as soon as we start to work with multiple bookmarked branches.

What to change

Issues for the concrete changes in sitescripts and infrastructure have to be created. But in a nut shell:

  1. Wherever we are running hg clone URL or hg clone -u default URL, we should run hg clone -u master URL instead.
  2. Wherever we are running hg update or hg update -r default, we should run hg update -r master instead.
  3. Wherever we are running hg pull -u, we should run hg pull and hg update -r master separately instead.

Overview


Change History (5)

comment:1 Changed 21 months ago by trev

  • Cc trev added

comment:2 Changed 20 months ago by matze

  • Blocked By 1608 added
  • Cc matze fred added
  • Component changed from Unknown to Infrastructure
  • Description modified (diff)
  • Priority changed from Unknown to P2
  • Ready set

comment:3 Changed 20 months ago by fhd

  • Description modified (diff)

comment:4 Changed 20 months ago by fhd

  • Blocked By 3732 added

comment:5 Changed 20 months ago by fhd

  • Description modified (diff)
Note: See TracTickets for help on using tickets.