Skip to content
Snippets Groups Projects
  1. Dec 16, 2012
  2. Dec 12, 2012
  3. Jan 03, 2013
  4. Jan 08, 2013
  5. Jan 02, 2013
    • Pierre-Yves David's avatar
      clfilter: add impactable filter · 58ca19edc043
      Pierre-Yves David authored
      The `mutable` filter still have some chance to get invalidated. This will happen
      when:
      
      - you garbage collect hidden changeset,
      - public phase is moved backward,
      - something is changed in the filtering (this could be fixed)
      
      So we introduce an even more stable filtering set: everything with a revision
      number egal or higher than the first mutable changeset is filtered.
      
      The only official use of this filter is for branchcache.
      58ca19edc043
    • Pierre-Yves David's avatar
      clfilter: add mutable filtering · aff706b3a21c
      Pierre-Yves David authored
      It filters all mutable changesets, leaving only public changeset unfiltered.
      This filtering set is expected to be much more stable that the previous one as
      public changeset are unlikely to disapear.
      
      The only official use of this filter is for branchcache.
      aff706b3a21c
  6. Jan 07, 2013
    • kiilerix's avatar
      run-tests.py: fix handling of symlink to the right python · 5a3c71b0e042
      kiilerix authored
      Before: a symlink for python in BINDIR was sometimes created, but it was never
      updated when a different Python was used and it was never removed. An invalid
      python could thus be left around and used when testing with --local.
      
      Now: the symlink is removed when wrong and created when necessary.
      
      The mechanism for finding the right name (python or python.exe) also had to be
      simplified and made more explicit.
      5a3c71b0e042
    • Pierre-Yves David's avatar
      log: use "hidden" filtering instead of manual check at display time · b3b1b8e127e5
      Pierre-Yves David authored
      When log is not given the --hidden option, hidden revision are not shown. We
      move the implementation from manual checking at display time to changelog
      filtering.
      
      This is the first official usage of the hidden filtering.
      b3b1b8e127e5
    • Pierre-Yves David's avatar
      clfilter: introduces a hidden filter · e4687edec014
      Pierre-Yves David authored
      This filter exclude all hidden revision. We plan to use this filter to hide
      revision instead of manually checking contents of the hidden revisions set.
      e4687edec014
  7. Jan 04, 2013
  8. Jan 07, 2013
    • Pierre-Yves David's avatar
      branchmap: allow to use cache of subset · a55b06885cda
      Pierre-Yves David authored
      Filtered repository are *subset* of unfiltered repository. This means that a
      filtered branchmap could be use to compute the unfiltered version.
      
      And filtered version happen to be subset of each other:
      - "all() - unserved()" is a subset of "all() - hidden()"
      - "all() - hidden()" is a subset of "all()"
      
      This means that branchmap with "unfiltered" filter can be used as a base for
      "hidden" branchmap that itself could be used as a base for unfiltered
      branchmap.
      
         unserved < hidden < None
      
      This changeset implements this mechanism. If the on disk branchcache is not valid
      we use the branchcache of the nearest subset as base instead of computing it from
      scratch. Such fallback can be cascaded multiple time is necessary.
      
      Note that both "hidden" and "unserved" set are a bit volatile. We will add more
      stable filtering in next changesets.
      
      This changeset enables collaboration between no filtering and "unserved"
      filtering. Fixing performance regression introduced by 47f00b0de337
      a55b06885cda
    • Pierre-Yves David's avatar
      repoview: add a subset table · 59a9f18d4587
      Pierre-Yves David authored
      This will be used by branchmap collaboration. See inline documentation for more
      details
      59a9f18d4587
  9. Jan 02, 2013
  10. Jan 07, 2013
  11. Jan 06, 2013
  12. Jan 04, 2013
  13. Jan 02, 2013
    • Pierre-Yves David's avatar
      branchmap: disable fallback to unfiltered branchcache · 47f00b0de337
      Pierre-Yves David authored
      Disables this simple optimisation to allow coming more powerfull approach: cache
      collaboration.
      
      Our goal is to have branchcache collaborate. This means that unfiltered
      branchcache will fallback to some filtered branchcache if invalid. We can't have
      the filtered branchcache to use the unfiltered one. That would loop.
      47f00b0de337
  14. Dec 21, 2012
    • Idan Kamara's avatar
      localrepo: filter unknown nodes from the phasecache on destroyed · 082d6929fd4d
      Idan Kamara authored
      When commit is followed by strip (qrefresh), phasecache contains nodes that were
      removed from the changelog. Since phasecache is filecached with .hg/store/phaseroots
      which doesn't change as a result of stripping, we have to filter it manually.
      
      If we don't write it immediately, the next time it is read from disk the nodes
      will be filtered again. That's what happened before, but there's no reason not
      to write it immediately.
      
      The change in test-keyword.t is caused by the above.
      082d6929fd4d
  15. Jan 04, 2013
  16. Dec 28, 2012
Loading