Skip to content
Snippets Groups Projects

lfs: improve an exception message for blob corruption detected on transfer

Merged Matt Harbison requested to merge topic/default/lfs-error-cleanup into branch/default
  1. Oct 20, 2022
    • Matt Harbison's avatar
      lfs: improve an exception message for blob corruption detected on transfer · 250d9c8aaf10
      Matt Harbison authored
      The message about the server crash originated in 0ee0a3f6a990 (after support for
      serving blobs was added), but was copied from the Facebook repo that forked
      prior to server side support.  Therefore, this message only displayed in their
      client, so it was safe to assume the server crashed.  But that was never the
      case for vanilla Mercurial, as I saw this in a server log.
      
      Also, display the blob reference so that it's easier to figure out where the
      problem was when a bunch of blobs are transferred at once.
      250d9c8aaf10
Loading