This is an archive of the discontinued Mercurial Phabricator instance.

rewriteutil: handle dropped commits when updating description hashes
ClosedPublic

Authored by mharbison72 on Oct 9 2020, 12:22 PM.

Details

Summary

In looking to leverage this with the absorb extension, the old -> new mapping
there allows the new value to be None. We could filter that out and not pass it
to this method, but it seems worth a message to the user. (I wonder if these
should be an info or warning, because it's unlikely people are using -v
regularly.)

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.