Open Bug 1627229 Opened 5 years ago Updated 5 years ago

`hg wip` can miss `@` revision if it has no date metadata

Categories

(Developer Services :: Mercurial: configwizard, defect)

defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: Gijs, Unassigned)

References

(Regression)

Details

My current hg wip output does not include the currently checked out commit (@).

hg parent outputs:

changeset:   587465:6639deb89417
fxtree:      central
parent:      587460:ecaceb8b8295
user:        Andrew Sutherland <asutherland@asutherland.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     Bug 1626728 - Normalize shutdown. r=perry,jstutte, a=RyanVM

I split up the revset hg wip uses, and it turns out the culprit is the and not (fxheads() - date(-90)) clause, because the commit has no associated date.

I don't really know why this commit has no date info, or if that's something we can fix... It seems problematic for other reasons, too.

See Also: → 1627767

(In reply to :Gijs (he/him) from comment #0)

I don't really know why this commit has no date info, or if that's something we can fix... It seems problematic for other reasons, too.

I think your filing of bug 1627767 covers this (Thank you!!), but for posterity, I believe the patch was extracted from phabricator and landed manually rather than using lando, so the fact that moz-phab didn't provide a timestamp would be super relevant.

You need to log in before you can comment on or make changes to this bug.