This is an old revision of the document!
su -l www cd /var/www/html/drupal hg addremove hg commit -m "Pre update" composer update drupal/core "drupal/core-*" --with-all-dependencies
su -l www cd /var/www/html/drupal hg addremove hg commit -m "Post update" hg push