Previously, we trust Differential Revision in commit message blindly. This
patch adds sanity check so a host name change will be detected and the
commit message will be ignored.
Details
Details
Send patches to a test Phabricator instance. Use phabread and import to
apply them in another repo, and change commit message so the URL does not
match the configured URL. Resend them using phabsend, make sure a warning is
printed saying the changed URL is ignored.
Diff Detail
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.