This is an archive of the discontinued Mercurial Phabricator instance.

docs: prefer `hg diff --from/--to` over `-r`
ClosedPublic

Authored by martinvonz on Dec 9 2020, 10:09 PM.

Details

Summary

This patch includes updating away from the broken `hg diff -r
'date(...)'` (see not in previous patch).

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

martinvonz created this revision.Dec 9 2020, 10:09 PM
mharbison72 requested changes to this revision.Dec 9 2020, 11:51 PM
mharbison72 added a subscriber: mharbison72.

I can fix this in flight if the answer to my question in D9554 is that it's by design, but flagging this for now.

mercurial/commands.py
2525

I think you accidentally dropped ^ along with :.

This revision now requires changes to proceed.Dec 9 2020, 11:51 PM
martinvonz added inline comments.Dec 9 2020, 11:55 PM
mercurial/commands.py
2525

Yep, I definitely did not mean to remove that.

mharbison72 accepted this revision.Dec 10 2020, 12:17 AM
This revision is now accepted and ready to land.Dec 10 2020, 12:17 AM
This revision was automatically updated to reflect the committed changes.