equal
deleted
inserted
replaced
1059 ) |
1059 ) |
1060 |
1060 |
1061 |
1061 |
1062 def update(repo, node, quietempty=False, updatecheck=None): |
1062 def update(repo, node, quietempty=False, updatecheck=None): |
1063 """update the working directory to node""" |
1063 """update the working directory to node""" |
1064 stats = updaterepo(repo, node, False, updatecheck=updatecheck) |
1064 stats = mergemod.update(repo[node], updatecheck=updatecheck) |
1065 _showstats(repo, stats, quietempty) |
1065 _showstats(repo, stats, quietempty) |
1066 if stats.unresolvedcount: |
1066 if stats.unresolvedcount: |
1067 repo.ui.status(_(b"use 'hg resolve' to retry unresolved file merges\n")) |
1067 repo.ui.status(_(b"use 'hg resolve' to retry unresolved file merges\n")) |
1068 return stats.unresolvedcount > 0 |
1068 return stats.unresolvedcount > 0 |
1069 |
1069 |