Skip to content
Snippets Groups Projects
  1. Mar 18, 2020
  2. Mar 17, 2020
  3. Mar 18, 2020
  4. Mar 17, 2020
  5. Jul 22, 2019
  6. Mar 13, 2020
  7. Mar 14, 2020
  8. Mar 13, 2020
  9. Mar 12, 2020
  10. Dec 13, 2019
  11. Mar 12, 2020
  12. Mar 13, 2020
  13. Mar 14, 2020
  14. Mar 13, 2020
  15. Feb 16, 2020
    • Matt Harbison's avatar
      phabricator: add a config knob to create obsolete markers when importing · f10055b099b3
      Matt Harbison authored
      This too can get a tristate switch if desired.  But if so, that needs to happen
      by having evolve add the option.
      
      Differential Revision: https://phab.mercurial-scm.org/D8138
      f10055b099b3
    • Matt Harbison's avatar
      phabricator: add a config knob to import in the secret phase · 9bae1d1a0f4c
      Matt Harbison authored
      For my use anyway, it's better to have a config knob that's always set than to
      try to remember a switch.  But we can add a tristate switch if desired.
      
      Differential Revision: https://phab.mercurial-scm.org/D8137
      9bae1d1a0f4c
    • Matt Harbison's avatar
      phabricator: add a `phabimport` command · bbb170f9396d
      Matt Harbison authored
      I've had `alias.phabimport = $hg phabread --stack $1 | $hg import --bypass -`
      for a while now, and I suspect others do too.  That's limited though, in that it
      can't use the information on Phabricator to restore it in the original location,
      so I'm making it a first class command.
      
      This doesn't do anything ambitious like that- this is mostly a simplification of
      `hg import` to get the equivalent of the alias mentioned above.  The `--bypass`
      option is hardcoded to be enabled and the message about amending rejects
      dropped (rejects aren't created with `--bypass`), because editing patches on
      Phabricator seems like an unusual workflow.
      
      This will need other options, like `--obsolete` and `--secret`.  I think these
      would be more useful as config settings, as I imagine the workflows are pretty
      fixed depending on roles.  Reviewers who don't queue patches probably never want
      `--obsolete`, but may need `--secret`.  Reviewers who do will want the former,
      but not the latter.  I left `--stack` as an option, but that should probably be
      a config knob too (or at least default to on)- if the point of this is to avoid
      rejects, it doesn't make sense to skip dependencies in most cases.
      
      Evolve is going to need a fix to its wrapping of `cmdutil.tryimportone()`, as it
      currently assumes `opts` has an `obsolete` key.  It's worked around for now.
      
      Differential Revision: https://phab.mercurial-scm.org/D8136
      bbb170f9396d
  16. Mar 12, 2020
  17. Dec 08, 2017
  18. Mar 11, 2020
  19. Mar 10, 2020
  20. Feb 29, 2020
  21. Mar 04, 2020
  22. Mar 06, 2020
  23. Feb 19, 2020
  24. Mar 04, 2020
  25. Mar 05, 2020
Loading