Skip to content
Snippets Groups Projects
  1. Apr 16, 2016
  2. Apr 15, 2016
  3. Apr 16, 2016
  4. Apr 15, 2016
  5. Apr 16, 2016
  6. Apr 14, 2016
    • timeless's avatar
      fetch: use single quotes around command hint · 9dcc9ed2
      timeless authored
      Windows command lines use double quotes to quote arguments with spaces.
      This change is in a series to unify around using single quotes around
      commands, and double quotes around interior arguments.
      9dcc9ed2
    • timeless's avatar
      graft: use single quotes around command hint · fc1d75e7
      timeless authored
      Windows command lines use double quotes to quote arguments with spaces.
      This change is in a series to unify around using single quotes around
      commands, and double quotes around interior arguments.
      fc1d75e7
    • timeless's avatar
      config: use single quotes around command hint · ad2cd2ef
      timeless authored
      Windows command lines use double quotes to quote arguments with spaces.
      This change is in a series to unify around using single quotes around
      commands, and double quotes around interior arguments.
      ad2cd2ef
    • timeless's avatar
      debugcreatestreamclonebundle: use single quotes around command hint · 2e58dc02
      timeless authored
      Windows command lines use double quotes to quote arguments with spaces.
      This change is in a series to unify around using single quotes around
      commands, and double quotes around interior arguments.
      2e58dc02
  7. Apr 16, 2016
    • Gregory Szorc's avatar
      transaction: clear callback instances after usage · 14e683d6
      Gregory Szorc authored
      Prevents double usage and helps reduce reference cycles, which
      were observed to occur in `hg convert` and other scenarios where
      there are multiple transactions per process.
      14e683d6
    • Gregory Szorc's avatar
      lock: clear postrelease hooks list after usage · 518c3e39
      Gregory Szorc authored
      Post release hooks should only be called once. Setting the
      list to None after usage will prevent accidental usage after
      they are used.
      
      In addition, it is easy for reference cycles to sneak into hook
      functions. Clearing the hooks after usage helps prevent these
      cycles.
      518c3e39
  8. Mar 27, 2016
  9. Apr 03, 2016
  10. Apr 10, 2016
  11. Apr 03, 2016
  12. Apr 04, 2016
    • Yuya Nishihara's avatar
      notify: do not load style file if template is specified (BC) · 1bba1b43
      Yuya Nishihara authored
      This patch makes sure that either "tmpl" or "mapfile" is exclusively set,
      which is the same behavior as common log-like templates and formatter outputs.
      
      See the previous patch for why.
      1bba1b43
    • Yuya Nishihara's avatar
      bugzilla: do not load style file if template is specified (BC) · 9e1c9f01
      Yuya Nishihara authored
      This prepares for the API change to support template aliases. I'm going to
      extract a factory function of templater that reads a map file:
      
        # original
        templater(mapfile, ..., cache, ...)
        # new
        templater.frommapfile(mapfile, ...)  # read mapfile to build cache/map
        templater(..., cache, ...)           # use specified cache (= map elements)
      
      This will make it clear to isolate stock styles (i.e. map files) from user
      aliases. Template aliases should be applied to command arguments and templates
      in hgrc, but not to map files. Otherwise, our stock styles and web templates
      could be modified unintentionally.
      
      This patch makes sure that either "tmpl" or "mapfile" is exclusively set. It's
      theoretically a behavior change, since you could put new keywords in template
      by defining them in a map file before:
      
        # mapfile
        foo = "{rev}"
        # hgrc
        [bugzilla]
        style = mapfile
        template = {foo}
      
      But the old behavior would be a bug because bugzilla.template is documented
      as "overrides style if specified". Also, common log-like templates and
      formatter doesn't allow using mapfile-keywords in a separate template. So
      I decided to make a BC.
      
      Since there was no test for the bugzilla extension, this adds new test that
      covers style/template output.
      9e1c9f01
  13. Apr 16, 2016
Loading