Skip to content
Snippets Groups Projects
  1. Oct 18, 2012
  2. May 05, 2012
  3. Oct 14, 2012
  4. Oct 08, 2012
    • Pierre-Yves David's avatar
      clfilter: remove use of xrange in revset · 5a511d255301
      Pierre-Yves David authored
      For changelog level filtering to take effect it need to be used for any
      iteration. Some remaining use of `xrange` in revset code is replace by proper
      use of `changelog.revs` or direct iteration over changelog.
      5a511d255301
    • Pierre-Yves David's avatar
      largefile: use `self` in repo method instead of `repo` · 1479572db256
      Pierre-Yves David authored
      Most method added (or overwritten) to repo by largefile works on `repo`
      instead of `self`. This currently works without trouble because `self` and
      `repo` are likely the same. However this is semantically dubious and this may
      cause issue for filtering. `self` may be proxy object different from the `repo`
      one.
      
      This changeset fix that and use `self` when applicable.
      1479572db256
  5. Oct 16, 2012
    • Pierre-Yves David's avatar
      test: use proper subclassing in `test-issue2137.t`. · a421459b83c0
      Pierre-Yves David authored
      To use changelog filtering on the repository, we plan to use "proxy" object that
      perfectly mock a repository but with a filtered changelog.
      
      Altering the `repo.commit` function using `extensions.wrapfunction` will prevent
      the logic to propagate to the proxy class by the mean of inheritance.
      
      We changes the extension to use subclassing as expectable.
      a421459b83c0
  6. Oct 17, 2012
  7. Oct 05, 2012
  8. Oct 17, 2012
  9. Oct 09, 2012
  10. Oct 15, 2012
  11. Oct 16, 2012
  12. Oct 17, 2012
  13. Oct 16, 2012
  14. Oct 15, 2012
  15. Oct 12, 2012
  16. Oct 14, 2012
  17. Oct 15, 2012
    • kiilerix's avatar
      run-tests: alternative way of handling \r on Windows · af7c6bc48d8d
      kiilerix authored
      After f71d60da58fb all \r was stripped from output on Windows, and the places
      where a \r explicitly was expected it was accepted that it was missing. Ugly
      hack.
      
      Instead we now accept that an extra \r might appear at the end of lines on
      Windows. That is more to the point and less ugly.
      af7c6bc48d8d
  18. Oct 16, 2012
    • Pierre-Yves David's avatar
      obsolete: flip `obstore.successors` and `obsolete.precursors` · 072812e9f570
      Pierre-Yves David authored
      People were confused by the fact `obstore.precursors` contained marker allowing
      to find "precursors" and vice-versa.
      
      This changeset changes their meaning to:
      
      - precursors[x] -> set(markers on precursors edges of x)
      - successors[x] -> set(markers on successors edges of x)
      
      Some documentation is added to clarify the situation.
      072812e9f570
  19. Oct 14, 2012
    • Pierre-Yves David's avatar
      obsolete: add example of marker usage in the documentation · 13744acc4ad7
      Pierre-Yves David authored
      Recent discussion with Augie Fackler pointed the lack of such example in the
      documentation.
      13744acc4ad7
    • Pierre-Yves David's avatar
      obsolete: cheap detection of nullid as successors · 0496d4f73cf4
      Pierre-Yves David authored
      Nullid as successors create multiple issues:
      
      - Nullid revnum is -1, confusing algorithm that use revnum unless you add
        special handling in all of them.
      - Nullid confuses "divergent" changeset detection and resolution. As you can't
        add any successors to Nullid without being in even more troubles
      
      Fortunately, there is no good reason to use nullid as a successor. The only
      sensible meaning of "succeed by nullid" is "dropped" and this meaning is already
      covered by obsolescence marker with empty successors set.
      
      However, letting some nullid successors to slip in may cause terrible damage in
      such algorithm difficult to debug. So I prefer to perform and clear detection of
      of such pathological changeset. We could be much smarter by cleaning up nullid
      successors on the fly but it would be much for expensive. As core Mercurial does
      not create any such changeset, I think it is fine to just abort when suspicious
      situation is detected.
      
      Earlier experimental version created such changesets, so there are some out
      there.  The evolve extension added the necessary logic to clean up its mess.
      0496d4f73cf4
  20. Oct 16, 2012
  21. Oct 15, 2012
  22. Oct 16, 2012
Loading