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
F14379889: D7844.id.diff
Sat, Dec 21, 3:23 AM
Unknown Object (File)
Sun, Dec 1, 4:03 PM
Unknown Object (File)
Wed, Nov 27, 3:18 AM
Unknown Object (File)
Sat, Nov 23, 9:39 AM
Unknown Object (File)
Nov 19 2024, 2:59 PM
Unknown Object (File)
Nov 15 2024, 2:11 AM
Unknown Object (File)
Nov 11 2024, 3:59 AM
Unknown Object (File)
Nov 11 2024, 12:26 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