Skip to content
Snippets Groups Projects
  1. Oct 21, 2010
  2. Oct 20, 2010
  3. Oct 15, 2010
    • Wagner Bruna's avatar
      revset: disable subset optimization for parents() and children() (issue2437) · 9aae04f4
      Wagner Bruna authored
      For the boolean operators, the subset optimization works by calculating
      the cheaper argument first, and passing the subset to the second
      argument to restrict the revision domain. This works well for filtering
      predicates.
      
      But parents() don't work like a filter: it may return revisions outside the
      specified set. So, combining it with boolean operators may easily yield
      incorrect results. For instance, for the following revision graph:
      
      0 -- 1
      
      the expression '0 and parents(1)' should evaluate as follows:
      
      0 and parents(1) ->
      0 and 0 ->
      0
      
      But since [0] is passed to parents() as a subset, we get instead:
      
      0 and parents(1 and 0) ->
      0 and parents([]) ->
      0 and [] ->
      []
      
      This also affects children(), p1() and p2(), for the same reasons.
      Predicates that call these (like heads()) are also affected.
      
      We work around this issue by ignoring the subset when propagating
      the call inside those predicates.
      9aae04f4
  4. Oct 20, 2010
  5. Oct 19, 2010
    • Erik Zielke's avatar
      gendoc: dedent documentation from docstrings · bdc1cf69
      Erik Zielke authored
      When getting docstrings from the source they are indented to look good
      in the code. This indentation interferes with how the text is parsed
      by rst. Therefore this indentation is removed.
      bdc1cf69
    • Erik Zielke's avatar
      extensions.load: return module · 891ddf76
      Erik Zielke authored
      Makes extensions.load return the module that
      it has loaded.
      
      This is done so that callers can get information on this module, which
      e.g. can be used for generating docs.
      891ddf76
    • Erik Zielke's avatar
      help: different section separators · dce09f82
      Erik Zielke authored
      Changes the characters used as section separators, so different ones
      are used for module docstring and command docstring.
      
      This is done because the section from the docstring will be at
      different levels in the restructured text output, therefore
      different symbols have to be used.
      dce09f82
  6. Oct 20, 2010
  7. Oct 14, 2010
  8. Oct 19, 2010
  9. Oct 20, 2010
  10. Oct 18, 2010
  11. Oct 16, 2010
  12. Oct 19, 2010
  13. Oct 18, 2010
  14. Oct 19, 2010
  15. Oct 17, 2010
  16. Oct 09, 2010
Loading