This is an archive of the discontinued Mercurial Phabricator instance.

tests: clarify test setup test in test-uncommit.t
ClosedPublic

Authored by martinvonz on Mar 6 2019, 6:49 PM.

Details

Summary

I assume the "hg uncommit b" is there to prove that the working copy
is dirty before we try "hg uncommit --allow-dirty-working-copy b". It
seems clearer to put that check just before we run the actual test.

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.

Event Timeline

martinvonz created this revision.Mar 6 2019, 6:49 PM
pulkit accepted this revision.Mar 7 2019, 7:27 AM
This revision was automatically updated to reflect the committed changes.