This is an archive of the discontinued Mercurial Phabricator instance.

histedit: improve help text for --no-backup option
ClosedPublic

Authored by khanchi97 on Jul 5 2018, 1:37 AM.

Details

Summary

Improved help text for --no-backup option to clearly
define it's meaning.

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

khanchi97 created this revision.Jul 5 2018, 1:37 AM
durin42 accepted this revision.Jul 5 2018, 1:39 AM
This revision is now accepted and ready to land.Jul 5 2018, 1:39 AM
This revision was automatically updated to reflect the committed changes.
martinvonz added inline comments.
hgext/histedit.py
928

To me, the "of files" makes it sounds like it's about .orig files, but I don't think that's what it actually is. Can we make it clearer?

khanchi97 added inline comments.Jul 6 2018, 11:03 PM
hgext/histedit.py
928

How about "do not save backup copies of performed actions"?

martinvonz added inline comments.Jul 7 2018, 2:49 AM
hgext/histedit.py
928

Maybe "do not back up edited commits"? Is that reasonably accurate? I'm not sure what the option actually does. Is it both about the new versions that get stripped on --abort and the old versions that get stripped on completion (if not using obsmarkers)?

khanchi97 added inline comments.Jul 7 2018, 3:26 AM
hgext/histedit.py
928

I'm not sure. I don't know its working in case of old version and new version. Don't have good knowledge of obsmarkers yet. Maybe someone else can suggest who has better understanding of it's working?