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
F13210320: D7844.id.diff
Fri, May 17, 4:43 AM
Unknown Object (File)
Wed, Apr 24, 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
Unknown Object (File)
Apr 10 2024, 5:27 PM
Unknown Object (File)
Mar 19 2024, 7:32 PM
Unknown Object (File)
Mar 10 2024, 8:03 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