D6355: shelve: add `update --shelve` if shelve extension is loaded

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri May 10 12:40:36 EDT 2019


martinvonz added inline comments.

INLINE COMMENTS

> test-shelve.t:1177
> +  $ hg update '.^' --shelve
> +  nothing changed
> +  0 files updated, 0 files merged, 1 files removed, 0 files unresolved

It's not clear that this is related to `--shelve`. Can we instead first check if the working is dirty? Or make this message more explicit. The former seems better if you think users (including you) will want to set `defaults.update=--shelve`.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6355

To: pulkit, #hg-reviewers
Cc: martinvonz, mercurial-devel


More information about the Mercurial-devel mailing list