Skip to content
Snippets Groups Projects
  1. Apr 22, 2014
    • Gregory Szorc's avatar
      run-tests: move test filtering into TestSuite.run() · d839e4820da7
      Gregory Szorc authored
      Upcoming patches will move the execution of tests to separate processes.
      To facilitate this, it makes sense to move logic out of Test.
      Furthermore, test filtering is logically the domain of the test runner,
      not the test itself.
      
      This patch interrupts our mini series of factoring options into named
      arguments because filtering consults many options and it is easier to
      move this logic out of Test sooner so we don't have to introduce
      arguments at all.
      d839e4820da7
    • Gregory Szorc's avatar
      run-tests: no longer pass a TestRunner into Test.__init__ · bfe2616a2b0e
      Gregory Szorc authored
      We no longer access any attributes on TestRunner besides options, so we
      stop passing a TestRunner to Test.__init__ and now pass the options
      data structure instead.
      
      Subsequent patches will move accessed options attributes into named
      arguments.
      bfe2616a2b0e
    • Gregory Szorc's avatar
      run-tests: pass abort into Test.__init__ · 3a1881dbf860
      Gregory Szorc authored
      3a1881dbf860
    • Gregory Szorc's avatar
      run-tests: pass temp dir into Test.__init__ · 888a5dfe1569
      Gregory Szorc authored
      This patch starts a mini series of moving arguments to Test.__init__
      from semi-complex data structures (such as the command options) to named
      arguments. This will allow Test instances to be more easily instantiated
      from other contexts. This improves the ability to run Mercurial tests in
      new and different environments.
      888a5dfe1569
  2. Mar 07, 2013
  3. Apr 22, 2014
    • Gregory Szorc's avatar
      run-tests: pass a full test path into Test.__init__ · f8515564d617
      Gregory Szorc authored
      Previously, a Test's path came from the base directory of all tests and
      a filename leaf. There is not a strong reason why an absolute test path
      can not be specified.
      
      This change isn't strictly necessary. But it does enable scenarios such
      as more easily running tests from multiple, non-sibling directories.
      f8515564d617
  4. Apr 21, 2014
  5. May 16, 2014
    • Mads Kiilerich's avatar
      convert: mercurial source: convert global tags only - not local tags · 6b8daeea638a
      Mads Kiilerich authored
      Mercurial tags can be local (tag -l, stored in .hg/localtags) or global (normal
      tags, tracked in .hgtags) ... or extensions can add other kind of tags.
      
      Convert would take all tags (except "tip"), not just the ones from .hgtags, and
      put them into .hgtags.
      
      Instead, convert only the global tags that come from .hgtags.
      6b8daeea638a
  6. Apr 21, 2014
  7. May 17, 2014
  8. Apr 23, 2014
    • Sean Farley's avatar
      localrepo: use _matchstatus of context objects · 6adfc311eee8
      Sean Farley authored
      Now that we have the machinery in place, we call the context method for
      changing the match object in the case of comparing the working directory with
      its parent.
      
      This removes the last of the hard-coded workingctx knowledge in localrepo
      paving the way for us to remove localrepo.status completely.
      6adfc311eee8
  9. Apr 24, 2014
    • Sean Farley's avatar
      workingctx: override _matchstatus for parentworking case · 869a28d016e9
      Sean Farley authored
      This patch encapsulate the logic for changing the match.bad function when
      comparing against the working directory's parent. Future patches will remove
      more of the 'if ... else' blocks in localrepo.status that test for this working
      directory parent case.
      869a28d016e9
  10. Apr 23, 2014
  11. Apr 24, 2014
  12. Apr 23, 2014
    • Sean Farley's avatar
      localrepo: remove unneeded unpacking of r · e18ef2e11219
      Sean Farley authored
      This unpacking is unneeded now because previous patches have removed the need
      for this method to modify each of these variables in favor of passing the whole
      set around to pre/post hook methods of the corresponding context object.
      e18ef2e11219
  13. Apr 22, 2014
  14. Apr 15, 2014
Loading