As noted by Pulkit, there should never be any conflicts after doing a
clean update, so hg.clean() should never return True. Let's check
that assertion instead to clarify the code. The callers will now get a
None instead of a False returned, but that should be fine (both
result in a 0 exit status).
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGabcc82bf0717: clean: check that there are no conflicts after
Diff Detail
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.