This is an archive of the discontinued Mercurial Phabricator instance.

upgrade: demonstrate that a no-op upgrade still performs everything
ClosedPublic

Authored by pulkit on Jan 8 2021, 1:45 PM.

Details

Summary

An upgrade operation which is not adding or removing anything should ideally
error out. However, it does the whole cloning and everything. Next patch will
fix it.

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

pulkit created this revision.Jan 8 2021, 1:45 PM
mharbison72 added inline comments.
tests/test-upgrade-repo.t
1681–1684

Added some globs here to keep the test running, since the next commit that removes all of this has a problem.

mharbison72 accepted this revision.Jan 12 2021, 8:51 PM
This revision is now accepted and ready to land.Jan 12 2021, 8:51 PM