Skip to content
Snippets Groups Projects

WIP: Topic/default/topic prune

Open Matt Harbison requested to merge topic/default/topic_prune into branch/default
  1. Aug 31, 2020
    • Matt Harbison's avatar
      topic: add `--prune` to the topic command · d8eb5c54e422
      Matt Harbison authored
      This is a more discoverable option than the `--topic` option on the `prune`
      command (though that gives more options) due to its proximity to `--clear`.
      
      I'm sure there's a way to build the `**opts` for the command less manually, but
      I don't know how.
      d8eb5c54e422
    • Matt Harbison's avatar
      prune: add a `--topic` argument when the topic extension is enabled · 7c64d87cb8dd
      Matt Harbison authored
      There was recent discussion on the mailing list about confusion over how to get
      rid of the topic revisions vs what `hg topic --clear` does.  Adding `--prune` to
      the `topic` command would be clearer, but this was a simpler first step.  We
      already have similar syntactic sugar for `push` and `outgoing`, and this copies
      that code to honor `.` to mean the active topic.
      7c64d87cb8dd
Loading