Skip to content
Snippets Groups Projects
  1. Jun 20, 2017
  2. Feb 16, 2017
    • Jun Wu's avatar
      tests: use LOCALIP · 636cf3f7620d
      Jun Wu authored
      This patch replaces hardcoded 127.0.0.1 with $LOCALIP in all tests.
      
      Till now, the IPv6 series should make tests pass on common IPv6 systems
      where the local device has the address "::1" and the hostname "localhost"
      resolves to "::1".
      636cf3f7620d
  3. Jan 19, 2017
  4. Jan 10, 2017
  5. Jul 15, 2016
  6. May 06, 2016
  7. Mar 20, 2016
  8. Jun 08, 2015
  9. May 10, 2015
    • Pierre-Yves David's avatar
      progress: get the extremely verbose output out of default debug · bd625cd4e5e7
      Pierre-Yves David authored
      When the progress extension is not enabled, each call to 'ui.progress' used to
      issue a debug message. This results is a very verbose output and often redundant
      in tests. Dropping it makes tests less volatile to factor they do not meant to
      test.
      
      We had to alter the sed trick in 'test-rename-merge2.t'. Sed is used to drop all
      output from a certain point and hidding the progress output remove its anchor.
      So we anchor on something else.
      bd625cd4e5e7
  10. Dec 12, 2014
    • Siddharth Agarwal's avatar
      archive: store number of changes since latest tag as well · 242d11819c6c
      Siddharth Agarwal authored
      This is different from latesttagdistance in that while latesttagdistance is
      defined to be the length of the longest path to the latest tag,
      changessincelatesttag is the number of changes contained in @ that aren't
      contained in the latest tag. So, if 't' is the latest tag in the repository
      below:
      
            t
            |
            v
       --o--o----o
          \       \
           ..o..o..@
      
      then latesttagdistance is 2, but changessincelatesttag is 4.
      
      Note that changessincelatesttag is always greater than or equal to the
      latesttagdistance -- that's because changessincelatesttag counts all the
      changes in the longest path since the latest tag, and possibly others. This is
      an important fact that we'll take advantage of in upcoming patches.
      242d11819c6c
  11. Nov 06, 2014
  12. Aug 06, 2014
  13. Oct 03, 2013
  14. Mar 21, 2013
  15. Feb 10, 2013
    • Angel Ezquerra's avatar
      hgweb: teach archive how to download a specific directory or file · bb38f4f78104
      Angel Ezquerra authored
      The archive web command now takes into account the "file" request entry, if one
      is provided.
      
      The provided "file" is processed as a "path" corresponding to a directory or
      file that will be downloaded.
      
      With this change hgweb can to process requests such as:
      
          http://mercurial.selenic.com/hg/archive/tip.zip/mercurial/templates
      
      This will download all files on the mercurial/templates directory as a zip file.
      It is not possible to specify file patterns ('glob', 'relglob', 'path',
      'relpath', 're', 'relre' nor 'set'). The server will reject those with a
      403 HTTP error response.
      
      Note that this is a first step to add support for downloading directories from
      the web interface. A following patch will modify the archiveentry map entry on
      the different templates so that it adds the current folder path to the archive
      links.
      bb38f4f78104
  16. Feb 06, 2013
  17. Oct 09, 2012
  18. Sep 19, 2012
  19. Sep 18, 2012
  20. Aug 20, 2012
  21. Jun 21, 2012
    • kiilerix's avatar
      tests: prepare get-with-headers.py for MSYS · 953faba28e91
      kiilerix authored
      get-with-headers.py took the http GET parameter as a command line parameter
      that had to start with '/'. MSYS on windows will mangle such paths.
      
      Instead of applying a workaround everywhere (such as an extra '/') we let
      get-with-headers.py add the mandatory '/'. That is consistent with the
      url path handling in the Mercurial url class.
      
      A few tests sent 'GET ?cmd=...' which is invalid. They will now send 'GET
      /?cmd=...'.
      
      This will not enable any tests for being run on windows - only remove one
      reason they were disabled.
      953faba28e91
  22. Jun 12, 2012
  23. Jun 10, 2012
    • kiilerix's avatar
      tests: add missing trailing 'cd ..' · f2719b387380
      kiilerix authored
      Many tests didn't change back from subdirectories at the end of the tests ...
      and they don't have to. The missing 'cd ..' could always be added when another
      test case is added to the test file.
      
      This change do that tests (99.5%) consistently end up in $TESTDIR where they
      started, thus making it simpler to extend them or move them around.
      f2719b387380
  24. Apr 03, 2012
  25. Nov 07, 2011
  26. Apr 19, 2011
  27. Dec 15, 2010
  28. Nov 29, 2010
  29. Dec 15, 2010
  30. Sep 24, 2010
Loading