Page MenuHomePhabricator

Clean up `hg --debug branches` calls
ClosedPublic

Authored by epriestley on Nov 2 2013, 7:55 PM.
Tags
None
Referenced Files
F14061877: D7480.diff
Mon, Nov 18, 9:07 AM
F14049156: D7480.diff
Thu, Nov 14, 11:28 AM
F14036385: D7480.diff
Sun, Nov 10, 10:03 AM
F14021815: D7480.diff
Wed, Nov 6, 12:43 PM
F14017491: D7480.diff
Mon, Nov 4, 5:48 PM
F13987234: D7480.id16860.diff
Oct 21 2024, 8:12 AM
F13984006: D7480.id.diff
Oct 20 2024, 10:18 AM
F13971199: D7480.diff
Oct 17 2024, 12:14 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.