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
Unknown Object (File)
Sun, Feb 23, 10:13 PM
Unknown Object (File)
Sat, Feb 8, 1:42 AM
Unknown Object (File)
Fri, Feb 7, 9:04 PM
Unknown Object (File)
Jan 28 2025, 12:25 PM
Unknown Object (File)
Jan 14 2025, 1:16 AM
Unknown Object (File)
Jan 2 2025, 9:23 AM
Unknown Object (File)
Dec 30 2024, 1:35 PM
Unknown Object (File)
Dec 30 2024, 11:38 AM
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