Page MenuHomePhabricator

Clean up `hg --debug branches` calls
ClosedPublic

Authored by epriestley on Nov 2 2013, 7:55 PM.
Tags
None
Referenced Files
F15464698: D7480.id16860.diff
Wed, Apr 2, 12:32 PM
F15460490: D7480.id.diff
Mon, Mar 31, 11:15 PM
F15459211: D7480.id16890.diff
Mon, Mar 31, 11:01 AM
F15456566: D7480.diff
Sun, Mar 30, 10:33 AM
F15422059: D7480.diff
Sat, Mar 22, 5:06 AM
F15398566: D7480.id16890.diff
Mon, Mar 17, 12:40 AM
F15392556: D7480.id.diff
Sat, Mar 15, 3:55 PM
F15390737: D7480.id.diff
Sat, Mar 15, 6:30 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.