This is an archive of the discontinued Mercurial Phabricator instance.

debuglock: rename flag names to better clarity
ClosedPublic

Authored by pulkit on Jan 8 2021, 8:49 AM.

Details

Summary

--force-lock sounds as if we are taking the lock however in reality it's the
opposite.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

pulkit created this revision.Jan 8 2021, 8:49 AM
marmoute accepted this revision.Jan 8 2021, 6:13 PM
marmoute added a subscriber: marmoute.

The current name are semantically correct, as "opening a lock without the key" is "forcing a lock". However I agree the new names are clearer in the context of Mercurial and for non-native speaker.

baymax updated this revision to Diff 24695.Jan 9 2021, 8:03 AM

โœ… refresh by Heptapod after a successful CI run (๐Ÿ™ ๐Ÿ’š)

Alphare accepted this revision.Jan 12 2021, 11:28 AM
Alphare added a subscriber: Alphare.

Agreed, this is clearer.

pulkit updated this revision to Diff 24777.Jan 13 2021, 6:30 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.