D6956: unfinishedstate: suggested `hg update .` (including `.`) to complete update

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Oct 15 09:47:08 EDT 2019


martinvonz added inline comments.

INLINE COMMENTS

> spectral wrote in state.py:204
> I wonder if it would be possible to portably quote the `.` so that users don't think it's just sitting on the end there.  Something like `hg update '.'` If not, then we should surround the entire thing in quotes if possible, something like `To continue:   'hg update .'`
> 
> Thoughts?

We often quote the whole command like you did in your second example. However, I don't really want to do that with all the commands here (e.g. the bisect commands a few lines down). We could quote just the `'.'`, but I think it's already quite clear from the context that the `.` is part of the command -- the spaces before it makes it look like it's not part of a sentence.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6956/new/

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

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


More information about the Mercurial-devel mailing list