HomePhabricator

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

Description

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

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.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7844

Details

Provenance
epriestleyAuthored on Dec 27 2013, 9:16 PM
epriestleyPushed on Dec 27 2013, 9:16 PM
Reviewer
btrahan
Differential Revision
D7844: Use `ancestors(x)` instead of `0::x` in Mercurial history queries
Parents
rP9f38aaa5dec4: Add "raw author name" and "raw committer name" as Herald fields for commit…
Branches
Unknown
Tags
Unknown

Event Timeline