Skip to content
Snippets Groups Projects
  1. Jun 16, 2017
  2. Jun 15, 2017
    • Boris Feld's avatar
      template: add predecessors template · 1858fc23
      Boris Feld authored
      Add a 'predecessors' template that returns the list of all closest known
      predecessors for a changectx. The elements of the list are row changectx node id
      formatted by default as short nodes.
      
      The "closest predecessors" are the first locally known revisions encountered
      while, walking predecessors markers. For example:
      
        1) If a (A, (B)) markers exists and both A and B are locally known A is a
        closest predecessors of B.
      
        2) If a (A, (B)) and (B, (C)) markers exists and only A and C are known
        locally, A will be the closest precursors of C.
      
      This logic respect repository filtering. So hidden revision will be skipped by
      this logic unless --hidden is specified. Since we only display the visible
      predecessors, this template will not display anything in most case. It makes a
      good candidate for inclusion in the default log output.
      
      I added a new test-file for testing the precursors in various scenarios. This
      test file will also be used for the successors template.
      
      A new "obsutil" module has been added to start gathering utility function
      outside of the large obsolete.py module.
      1858fc23
  3. Apr 22, 2017
  4. May 06, 2017
  5. Apr 22, 2017
    • Yuya Nishihara's avatar
      formatter: load templates section like a map file · c8f2cf18
      Yuya Nishihara authored
      Since a map file has another level to select a template (spec -> mapfile
      -> topic), this isn't exactly the same as how a map file works. But I believe
      most users would expect the new behavior.
      
      A literal template is stored as an unnamed template so that it will never
      conflict with the templates defined in [templates] section.
      c8f2cf18
  6. May 06, 2017
  7. Apr 22, 2017
  8. Jun 15, 2017
  9. Jun 16, 2017
  10. Jun 07, 2017
  11. May 07, 2017
  12. Jun 15, 2017
  13. Jun 16, 2017
  14. Jun 15, 2017
  15. Jun 16, 2017
  16. Apr 11, 2017
Loading