Page MenuHomePhabricator

Clean up `hg --debug branches` calls
ClosedPublic

Authored by epriestley on Nov 2 2013, 7:55 PM.
Tags
None
Referenced Files
F13322763: D7480.id16890.diff
Fri, Jun 14, 11:50 AM
F13311850: D7480.diff
Tue, Jun 11, 5:39 AM
F13300148: D7480.diff
Fri, Jun 7, 8:51 AM
F13236101: D7480.id16890.diff
Tue, May 21, 8:05 AM
F13226698: D7480.id16890.diff
Sun, May 19, 10:39 PM
F13226456: D7480.id16860.diff
Sun, May 19, 8:54 PM
F13224974: D7480.id.diff
Sun, May 19, 12:29 PM
F13214904: D7480.id.diff
Fri, May 17, 1:43 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.