Skip to content
Snippets Groups Projects
  1. Jun 06, 2018
  2. May 25, 2018
  3. Jun 03, 2018
  4. Apr 21, 2018
  5. May 13, 2018
    • Boris Feld's avatar
      run-tests: update the test case name format · b865bba5
      Boris Feld authored
      Manually typing parenthesis and spaces will be tedious when trying to launch a
      specific test case.
      
      I'm proposing a simpler format that is less hard to remember and type right.
      There was other possibilities envisaged like `::` or `!`, I think `#` is
      slight easier to type but I'm open to any suggestion on the new format.
      
      Differential Revision: https://phab.mercurial-scm.org/D3556
      b865bba5
  6. Apr 26, 2018
  7. May 30, 2018
  8. May 14, 2018
  9. May 31, 2018
  10. Apr 20, 2018
  11. May 24, 2018
  12. Jun 06, 2018
  13. Jun 02, 2018
  14. Jun 01, 2018
    • Matt Harbison's avatar
      tests: adapt test-check-pylint to run on Windows · 6ae62d62
      Matt Harbison authored
      The line endings are explicitly converted because this was ending up with
      '\r (no-eol) (esc)' lines, in addition to the usual '\r (esc)' lines.  I've seen
      the fakerc output on other recently installed systems though (10.13 and/or
      Fedora 26).  Unfortunately, the output here uses '\\' on Windows, so glob away
      the whole path.
      6ae62d62
    • Matt Harbison's avatar
      hghave: avoid a deadlock reading the child process's output · 6fb76897
      Matt Harbison authored
      The output of `pylint` is voluminous enough that it fills the buffer on Windows,
      and waited for the parent to read it out.  But the parent was waiting on the
      child to exit.
      
      I'm not sure what the intent of setting `ret = -1` in the exception handler just
      above this was...
      6fb76897
  15. May 31, 2018
    • Matt Harbison's avatar
      lfs: bypass wrapped functions when reposetup() hasn't been called (issue5902) · 3790efb3
      Matt Harbison authored
      There are only a handful of methods that access repo attributes that are applied
      in reposetup().  The `diff` test covers all of the commands that call
      scmutil.prefetchfiles().  Along the way, I saw that adding files and upgrading
      the repo format were also problems (also tested here).
      
      I don't think running `hg serve` through the commandserver is sane, but I
      conditionalized both the capabilities and the wsgirequest handler because it's
      trivially correct.  It doesn't look like there has ever been a caller of
      candownload(), so there's no test for that path.
      
      The upload case isn't testable, because uploadblobs() bails if there are no
      pointers.  The requirement should be added any time pointers are introduced, and
      that would force the extension to be loaded specifically for the repo.  This
      covers `debuglfsupload`, the pre-push hook (which isn't set until the repo is
      promoted to LFS), and uploadblobsfromrevs(), which can be called by other
      extensions.
      
      I think readfromstore() and writetostore() are only reachable as a flag
      processor for revlog.REVIDX_EXTSTORED, and a requirement is added as soon as
      that is seen, so I don't think those are a problem.
      3790efb3
  16. Apr 29, 2018
  17. May 24, 2018
    • Denis Laxalde's avatar
      transaction-summary: show phase changes statistics in pull/unbundle · eb983501
      Denis Laxalde authored
      Upon pull or unbundle, we display a message with the number of
      changesets which phase became public. Noticeably, this new message would
      appear even if no new changeset were added (below the "no changes found"
      message), thus indicating that something actually happened to the local
      repository.
      eb983501
  18. May 28, 2018
    • Matt Harbison's avatar
      outgoing: pay attention to `default:pushurl` for bookmarks and subrepos · dfb888aa
      Matt Harbison authored
      The problem here was that `default:pushurl` and `default` get translated to a
      single entry in `ui.paths` named 'default', with an attribute for 'pushloc',
      'loc', and 'rawloc'.  ui.expandpath() then always takes the `rawloc` attribute.
      Maybe the ui.expandpath() API is busted and should be removed?  Or maybe
      getpath() should return a copy that adds an attribute reflecting the URL of the
      path chosen?
      
      I thought that I could remove the code in hg._outgoing() and pass the location
      resolved in commands.py as `dest`, but unfortunately that code is needed there
      to resolve #branch type URLs.  Maybe that should be pulled up to commands.py,
      because I can't see any reasonable behavior for a subrepo path that's
      constructed out of that type of URL.
      
      The push command already resolves this early, so that works properly.  But it
      looks like bundle, histedit, largefiles, patchbomb, and summary use a similar
      pattern, so they are likely similarly affected.
      dfb888aa
  19. May 03, 2018
    • Yuya Nishihara's avatar
      extensions: peek command table of disabled extensions without importing · bdf344ae
      Yuya Nishihara authored
      With chg where demandimport disabled, and if disk cache not warm, it took
      more than 5 seconds to get "unknown command" error when you typo a command
      name. This is horrible UX.
      
      The new implementation is less accurate than the original one as Python
      can do anything at import time and cmdtable may be imported from another
      module, but I think it's good enough.
      
      Note that the new implementation has to parse .py files, which is slightly
      slower than executing .pyc if demandimport is enabled.
      bdf344ae
  20. Apr 27, 2018
  21. May 25, 2018
  22. Feb 27, 2018
  23. May 24, 2018
  24. May 23, 2018
  25. May 16, 2018
  26. May 20, 2018
Loading