Page MenuHomePhabricator

Clean up `hg --debug branches` calls
ClosedPublic

Authored by epriestley on Nov 2 2013, 7:55 PM.
Tags
None
Referenced Files
F18851430: D7480.id16890.diff
Fri, Oct 31, 1:01 AM
F18833406: D7480.id16860.diff
Sun, Oct 26, 3:04 AM
F18814865: D7480.id.diff
Tue, Oct 21, 12:02 AM
F18808844: D7480.diff
Sun, Oct 19, 9:10 AM
F18755973: D7480.id.diff
Oct 5 2025, 8:25 AM
F18734516: D7480.id.diff
Sep 30 2025, 10:55 PM
F18730881: D7480.diff
Sep 30 2025, 1:42 PM
F18625095: D7480.id.diff
Sep 15 2025, 9:57 PM
Subscribers

Details

Summary

Ref T1493. Consolidate these a bit; they might need some more magic once we do --noupdate checkouts. Mostly just trying to clean up and centralize this code a bit.

Test Plan

Viewed and bin/repository discover'd Mercurial repos with and without any branches.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

"Low level" doesn't seem to me as the obvious thing going on here -- seems more like a debug query? Anyhoo, I am a poor Mercurial user.

--debug has nothing to do with debugging, it just means --show-full-commit-hashes-instead-of-only-the-first-8-characters. Mercurial is just "special" and doesn't have a more reasonably named flag. (The Git equivalent is --no-abbrev.)

I'm using "LowLevel" to mean "not policy-aware", although it's not a great name.