##// END OF EJS Templates
Simplify update.
Bryan O'Sullivan -
r4942:b8076522 default
parent child Browse files
Show More
@@ -2018,7 +2018,7 b' def postincoming(ui, repo, modheads, opt'
2018 return
2018 return
2019 if optupdate:
2019 if optupdate:
2020 if modheads == 1:
2020 if modheads == 1:
2021 return hg.update(repo, repo.changelog.tip()) # update
2021 return hg.update(repo, None)
2022 else:
2022 else:
2023 ui.status(_("not updating, since new heads added\n"))
2023 ui.status(_("not updating, since new heads added\n"))
2024 if modheads > 1:
2024 if modheads > 1:
General Comments 0
You need to be logged in to leave comments. Login now