This is an archive of the discontinued Mercurial Phabricator instance.

pull: do not prompt "hg update" if update.requiredest is set
ClosedPublic

Authored by quark on Aug 24 2017, 11:30 PM.

Details

Summary

Previously, after pull, we show:

(run 'hg update' to get a working copy)

unconditionally. People might run hg update and get an exception if
update.requiredest is set, and get a bit frustrated. This patch changes
the code to not prompt hg update in that case.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

quark created this revision.Aug 24 2017, 11:30 PM
durin42 accepted this revision.Aug 28 2017, 2:46 PM
This revision is now accepted and ready to land.Aug 28 2017, 2:46 PM
This revision was automatically updated to reflect the committed changes.