Page MenuHomePhabricator

Clean up `hg --debug branches` calls
ClosedPublic

Authored by epriestley on Nov 2 2013, 7:55 PM.
Tags
None
Referenced Files
F21795378: D7480.diff
Tue, Aug 11, 7:59 AM
Unknown Object (File)
Jul 10 2026, 11:54 PM
Unknown Object (File)
Jun 30 2026, 2:24 PM
Unknown Object (File)
Jun 28 2026, 5:06 AM
Unknown Object (File)
Jun 22 2026, 12:05 PM
Unknown Object (File)
Jun 11 2026, 9:12 PM
Unknown Object (File)
Apr 15 2026, 11:44 PM
Unknown Object (File)
Apr 15 2026, 9:48 AM
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.