Skip to content
Snippets Groups Projects

Merged oldstable branch into stable

Merged Georges Racinet requested to merge topic/stable/hg-share-default-ref into branch/stable
  1. Aug 19, 2024
    • Georges Racinet's avatar
      Merged oldstable branch into stable · 09f8807ec553
      Georges Racinet authored
      Contains the fix to heptapod#714
      09f8807ec553
    • Georges Racinet's avatar
      NoGitStateMaintainer.get_default_git_ref: fixed the cache · fb05140f865f
      Georges Racinet authored
      Obviously, setting the cache attribute had been missing for all this
      time.
      fb05140f865f
    • Georges Racinet's avatar
      Default branch: fix reading from share · 071cd5a0c689
      Georges Racinet authored
      This was the root cause of heptapod#714: reading the value of the
      GitLab default branch from Mercurial shares was not switching over to the
      share source where the file is actually stored.
      
      On the server side, Mercurial shares are used for all server-originating
      operations (web edits notably) and they are not used for receiving pushes,
      explaning why reproduction was only possible with web edits.
      Also this happens only for native projects (nowadays always without the Git repo
      to support the default branch information as `HEAD`) hence was amplified when
      the mode without Git became default.
      
      As a result, the default branch machinery was defaulting to the topic.
      071cd5a0c689
  2. Aug 08, 2024
Loading