Skip to content
Snippets Groups Projects
  1. Jan 24, 2015
  2. Oct 06, 2017
  3. Oct 15, 2017
    • Pulkit Goyal's avatar
      amend: add a flag `-n/--note` to store note with amend · 530b7361e3a9
      Pulkit Goyal authored
      This patch utilises the functionality added in previous patches and adds a flag
      to amend command in hgext/amend to add a note to the amend. Since the note is
      stored in the obsmarker metadata, this will only be useful when obsmarker
      creation is enabled, otherwise this is no-op.
      
      Not adding releasenotes part as we yet don't have a functionality in core to
      show the note.
      
      Differential Revision: https://phab.mercurial-scm.org/D1095
      530b7361e3a9
    • Pulkit Goyal's avatar
      cmdutil: pass metadata from amend() to cleanupnodes · 5781e0931c16
      Pulkit Goyal authored
      `commit --amend` and amend command in core and extensions rely on
      cmdutil.amend() for amending a commit. So the logic to add a note to amend must
      reside here. This patch assumes that note will be passed in opts dictionary to
      the function and it will be passed to cleanupnodes and then createmarkers to
      store the note in the obsmarker metadata.
      
      After this patch, note can be stored on an amend changeset by passing notes as a
      part of opts to cmdutil.amend().
      
      Differential Revision: https://phab.mercurial-scm.org/D1094
      5781e0931c16
    • Pulkit Goyal's avatar
      scmutil: add capability to cleanupnodes to take obsmarker metadata · 3df59451cdec
      Pulkit Goyal authored
      This patch adds a metadata argument to cleanupnodes() which will be dict and can
      be passed to obsmarker.createmarkers() and can be stored on the obsmarker.
      In cases when obsolescence is not enabled, the metadata argument is useless.
      
      This is a step towards storing a note in amend.
      
      Differential Revision: https://phab.mercurial-scm.org/D1093
      3df59451cdec
  4. Oct 16, 2017
  5. Oct 17, 2017
  6. Oct 16, 2017
  7. Oct 13, 2017
  8. Oct 16, 2017
  9. Sep 19, 2017
    • Pulkit Goyal's avatar
      registrar: add support for storing the type of command in func object · fe987d0b9e1e
      Pulkit Goyal authored
      This patch adds support for storing the type of command which is going to run in
      the func object. For this it does the following:
      
      1) Add three possible values as attributes to the registrar.command class
      2) Add a new argument to registrar.command._doregister function
      3) Add a new attribute cmdtype to the func object
      
      The type of command will be helpful in deciding what level of access on hidden
      commits it can has.
      
      Differential Revision: https://phab.mercurial-scm.org/D736
      fe987d0b9e1e
  10. Oct 16, 2017
  11. Oct 13, 2017
  12. Oct 11, 2017
  13. Oct 13, 2017
Loading