Skip to content
Snippets Groups Projects
  1. Jan 16, 2015
  2. Jan 15, 2015
  3. Jan 13, 2015
    • Matt Harbison's avatar
      largefiles: cleanup overrideadd() · 054cfb7c33ae
      Matt Harbison authored
      This was a remnant of the code prior to overridding cmdutil.add().
      054cfb7c33ae
    • Matt Harbison's avatar
      largefiles: enable subrepo support for add · 5ce8dcd05dc4
      Matt Harbison authored
      The --large, --normal and --lfsize args couldn't be passed to a subrepo before,
      and files in the subrepos would be added silently (if -v wasn't specified) as
      normal files.  As an added bonus, 'hg add --dry-run' no longer prints that
      largefiles would also be added as normal files as well.
      5ce8dcd05dc4
    • Matt Harbison's avatar
      add: pass options via keyword args · 9994f45ba714
      Matt Harbison authored
      The largefiles extensions needs to be able to pass --large, --normal and
      --lfsize to subrepos via cmdutil.add() and hgsubrepo.add().  Rather than add
      additional special purpose arguments, stop extracting the existing args from the
      **opts passed to commands.add() and just pass them along.
      9994f45ba714
  4. Dec 31, 2014
  5. Jan 11, 2015
    • Angel Ezquerra's avatar
      share: replace the bookmarks.shared file with an entry on a new "shared" file · 7e71898a7cdc
      Angel Ezquerra authored
      cd79fb4d75fd introduced a way to share bookmarks. When a repository share that
      shares bookmarks was created, a .hg/bookmarks.shared file was created to mark
      the repository share as one that shares its bookmarks.
      
      We have plans to introduce other levels of sharing, including a "full share"
      mode. Rather than creating a new ".shared" file for each new thing that we may
      want to share It seems better to create a single "shared" file that will list
      what is shared for a given shared repository. This should make it much easier
      to get a list of everything that is shared by a given shared repository.
      
      The shared file contains a list of shared "items" (such as bookmarks). Each
      shared "item" is added as a new line in the file. For now the only possible
      entry in the file is "bookmarks".
      7e71898a7cdc
  6. Nov 02, 2014
  7. Jan 16, 2015
  8. Jan 11, 2015
  9. Jan 10, 2015
  10. Jan 15, 2015
  11. Jan 16, 2015
    • Gregory Szorc's avatar
      dispatch: only check compatibility against major and minor versions (BC) · b2d8f3685b06
      Gregory Szorc authored
      Extensions can declare compatibility with Mercurial versions. If an
      error occurs, Mercurial will attempt to pin blame on an extension that
      isn't marked as compatible.
      
      While all bets are off when it comes to the internal API, my experience
      has shown that a monthly/patch release of Mercurial has never broken any
      of the extensions I've written. I think that expecting extensions to
      declare compatibility with every patch release of Mercurial is asking a
      bit much and adds little to no value.
      
      This patch changes the blame logic from exact version matching to only
      match on the major and minor Mercurial versions. This means that
      extensions only need to mark themselves as compatible with the major,
      quarterly releases and not the monthly ones in order to stay current and
      avoid what is almost certainly unfair blame. This will mean less work
      for extension authors and almost certainly fewer false positives in the
      blame attribution.
      b2d8f3685b06
    • Gregory Szorc's avatar
      test-extension: use a realistic Mercurial version · 9070e20057ae
      Gregory Szorc authored
      Mercurial doesn't define the 3rd "patch" version field for major
      releases. Don't use it in tests.
      9070e20057ae
    • Gregory Szorc's avatar
      test-extension: improve test readability · d9967b82394a
      Gregory Szorc authored
      There was a mountain of text in this file that made reading the tests
      difficult. Inserting some line breaks greatly improves the situation.
      d9967b82394a
  12. Dec 19, 2014
    • Pierre-Yves David's avatar
      bundle2: enforce parttype as alphanumerical · 405eacbecc52
      Pierre-Yves David authored
      The binary format description has always stated that the parttype should be simple,
      but it was never really enforced. Recent discussions have convinced me we want to
      keep the part type simple and easy to debug. There is enough extensibility in
      the rest of the format.
      405eacbecc52
  13. Jan 15, 2015
    • Matt Harbison's avatar
      tests: conditionalize test-tools.t for Windows support · 049a9e3a078d
      Matt Harbison authored
      I still get the following diff on Windows 7 with NTFS.  I'm not sure if it is
      expected and we should wildcard the link count, or if something needs to be
      fixed.
      
        @@ -58,7 +58,7 @@
      
           $ ln bar baz
           $ f bar -n baz -l --hexdump -t --sha1 --lines=9 -B 20
        -  bar: file, links=2, newer than baz, sha1=612ca68d0305c821750a
        +  bar: file, links=0, newer than baz, sha1=612ca68d0305c821750a\r (esc)
           0000: 31 0a 32 0a 33 0a 34 0a 35 0a 36 0a 37 0a 38 0a |1.2.3.4.5.6.7.8.|
           0010: 39 0a                                           |9.|
      049a9e3a078d
  14. Jan 14, 2015
  15. Jan 15, 2015
  16. Jan 14, 2015
    • Mads Kiilerich's avatar
      branchcache: make _rbcrevslen handling more safe · 669106fc5bb1
      Mads Kiilerich authored
      self._rbcrevslen is used to keep track of the number of good records on disk.
      It should thus not be updated before the records actually have been written to
      disk.
      669106fc5bb1
    • Mads Kiilerich's avatar
      branchcache: add debug output whenever cache files use truncate · 7aa1405528a3
      Mads Kiilerich authored
      The cache files are usually append only but will automatically be truncated and
      recover in exceptional situations. Add a debug notice when such exceptional
      situations are encountered.
      7aa1405528a3
    • Mads Kiilerich's avatar
      tests: rework revision branch cache tests · 01426cad66dc
      Mads Kiilerich authored
      The tests that were added with the revision branch cache in 678f53865c68 had
      suffered from bit rot in the development iterations. They were no longer that
      "good".
      
      Now, the tests are rewritten and reworked to be more readable and maintainable
      and relevant for the actual implementation.
      
      This also utilizes the new 'f' helper tool for keeping an eye the cache files.
      01426cad66dc
    • Mads Kiilerich's avatar
      tests: add 'f' tool for cross platform file operations in the tests · bead0c7b4f68
      Mads Kiilerich authored
      This tool is like the collection of tools found in a unix environment but are
      cross platform and stable and suitable for our needs in the test suite.
      
      The main reason it is "needed" now is for hexdump of revision branch cache to
      keep an eye on how it changes and make sure the format is stable.
      
      It is a very generic tool that can end up being used a lot in tests, so I gave
      it very generic name.
      bead0c7b4f68
    • Mads Kiilerich's avatar
      run-tests: include testdir in $PATH so tests easily can use helper tools · 661b246bf1c4
      Mads Kiilerich authored
      The testdir is already added to $PYTHONPATH - I think it makes sense and is
      convenient to add it to $PATH too.
      
      The following binaries are invoked from tests using full path with $TESTDIR/ -
      they can now be used without specifying path:
        dumbhttp.py
        dummyssh
        filterpyflakes.py
        generate-working-copy-states.py
        get-with-headers.py
        hghave
        histedit-helpers.sh
        killdaemons.py
        md5sum.py
        notcapable
        printenv.py
        readlink.py
        revlog-formatv0.py
        run-tests.py
        svn-safe-append.py
        svnxml.py
        tinyproxy.py
      661b246bf1c4
  17. Jan 12, 2015
  18. Jan 11, 2015
  19. Jan 10, 2015
  20. Jan 14, 2015
Loading