Skip to content
Snippets Groups Projects
  1. Oct 23, 2015
    • Gregory Szorc's avatar
      bundle2: attribute remote failures to remote (issue4788) · 58f1645f72c3
      Gregory Szorc authored
      Before bundle2, hook output from hook failures was prefixed with
      "remote: ". Up to this point with bundle2, the output was converted to
      the message to print in an Abort exception. This had 2 implications:
      
      1) It was unclear whether an error message came from the local repo
         or the remote
      2) The exit code changed from 1 to 255
      
      This patch changes the handling of error:abort bundle2 parts during push
      to prefix the error message with "remote: ". This restores the old
      behavior.
      
      We still preserve the behavior of raising an Abort during bundle2
      application failure. This is a regression from pre-bundle2 because the
      exit code changed.
      
      Because we no longer raise an Abort with the remote's message, we needed
      to insert a message for the new Abort. So, I invented a new error
      message for that. This is another change from pre-bundle2. However, I
      like the new error message because it states unambiguously who aborted
      the push failed, which I think is important for users so they can decide
      what's next.
      58f1645f72c3
    • Gregory Szorc's avatar
      tests: add tests for remote hook output (issue4788) · 00e75baa810f
      Gregory Szorc authored
      The added tests don't agree in their output. This demonstrates a
      difference in `hg push` behavior between pre-bundle2 and bundle2.
      A subsequent patch will attempt to restore some of the pre-bundle2
      behavior to bundle2.
      00e75baa810f
  2. Oct 24, 2015
  3. Oct 23, 2015
  4. Oct 22, 2015
    • Gregory Szorc's avatar
      ui: support paths.default-push without paths.default set (issue4914) · 71d5238f92e9
      Gregory Szorc authored
      This behavior regressed as part of the paths API refactoring. Previous
      behavior was to accept "default-push" without "default" defined. Current
      behavior aborts with "default repository not configured!." This patch
      restores the old behavior and adds test coverage for the scenario, which
      was absent before.
      71d5238f92e9
  5. Oct 21, 2015
  6. Oct 20, 2015
  7. Oct 19, 2015
  8. Oct 15, 2015
  9. Oct 20, 2015
    • Ryan McElroy's avatar
      editmerge: dequote other use of $ED · 612502900a2d
      Ryan McElroy authored
      We want to support editors with parameters, eg EDITOR="vim -O" or whatever.
      So remove the quotes from around $ED and assume that the editor variable is
      properly escaped already.
      612502900a2d
  10. Oct 19, 2015
  11. Oct 03, 2015
  12. Oct 19, 2015
  13. Oct 20, 2015
Loading