Page MenuHomePhabricator

Use `ancestors(x)` instead of `0::x` in Mercurial history queries
ClosedPublic

Authored by epriestley on Dec 27 2013, 4:42 PM.
Tags
None
Referenced Files
F13370551: D7844.id17753.diff
Thu, Jun 27, 6:48 PM
F13353204: D7844.id17753.diff
Sun, Jun 23, 7:01 PM
F13284571: D7844.diff
Mon, Jun 3, 6:35 AM
F13210320: D7844.id.diff
May 17 2024, 4:43 AM
Unknown Object (File)
Apr 24 2024, 9:50 PM
Unknown Object (File)
Apr 21 2024, 1:49 PM
Unknown Object (File)
Apr 20 2024, 8:51 AM
Unknown Object (File)
Apr 17 2024, 2:58 PM
Subscribers

Details

Summary

If 0 isn't an ancestor of the current branch, the 0::x construction fails. This is uncommon, but not wildly unreasonable. The ancestors() construction is simpler anyway.

Test Plan

Viewed some hg repos locally (change history, file history) without anything suspicious cropping up.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped