# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1525009289 -19800 # Node ID 0bfc4fe3baf8935ecae51015b8050966442da2bd # Parent ed3f69fb67bfcc3456ce4ffa0ac8cb28f9864ccc evolve: use hg.updaterepo() instead of hg.update() to hide stats diff -r ed3f69fb67bf -r 0bfc4fe3baf8 hgext3rd/evolve/evolvecmd.py --- a/hgext3rd/evolve/evolvecmd.py Sun Apr 29 19:04:18 2018 +0530 +++ b/hgext3rd/evolve/evolvecmd.py Sun Apr 29 19:11:29 2018 +0530 @@ -403,7 +403,7 @@ return (False, '') if divergent not in repo[None].parents(): repo.ui.status(_('updating to "local" conflict\n')) - hg.update(repo, divergent.rev()) + hg.updaterepo(repo, divergent.node(), False) repo.ui.note(_('merging %s changeset\n') % TROUBLES['CONTENTDIVERGENT']) if progresscb: progresscb() diff -r ed3f69fb67bf -r 0bfc4fe3baf8 tests/test-divergent.t --- a/tests/test-divergent.t Sun Apr 29 19:04:18 2018 +0530 +++ b/tests/test-divergent.t Sun Apr 29 19:11:29 2018 +0530 @@ -58,7 +58,6 @@ with: [3] add bdivergent2 base: [1] add _b updating to "local" conflict - 1 files updated, 0 files merged, 1 files removed, 0 files unresolved 1 files updated, 0 files merged, 0 files removed, 0 files unresolved working directory is now at c26f1d3baed2 $ hg log -G @@ -104,7 +103,6 @@ base: [5] add _c updating to "local" conflict 0 files updated, 0 files merged, 0 files removed, 0 files unresolved - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved nothing changed working directory is now at 26c7705fee96 diff -r ed3f69fb67bf -r 0bfc4fe3baf8 tests/test-stabilize-result.t --- a/tests/test-stabilize-result.t Sun Apr 29 19:04:18 2018 +0530 +++ b/tests/test-stabilize-result.t Sun Apr 29 19:11:29 2018 +0530 @@ -417,7 +417,6 @@ base: [16] More addition updating to "local" conflict 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved working directory is now at e015aa78acee $ glog @ 18:e015aa78acee@default(draft) bk:[] More addition (2)