Fix bytes wrapper to work in Python 2 as well
ae33e6b815ce — David Champion 3 years ago
py3/unicode: adapt cmdtable entries to bytestrings
08208fbdfd02 — David Champion 3 years ago
py3: print -> print()
Port documentation to d
Fix error: don't assume status is a tuple

This fix also works with older versions of Mercurial. `repo.status()` used to
return a named tuple; since 5.2.1 it returns an object. So `st[:5]` no longer
works, but `st.modified` works with both old and new versions of Mercurial.
Fix error with tags

Tags are defined on a commit, such as the current commit `repo['.']`.
They are not defined on the working directory, which `repo[None]` gives.
Fix inactive branches being marked with ^

Patch from Simon Williams.
Fix formatting for hosting
Tear out incoming/outgoing functionality

This stuff is the most brittle part of hg-prompt, and I never use it.
I don't have the will to maintain it as Mercurial constantly breaks
backwards compatibility in their plugin API.  At this point I regret
ever writing a Mercurial extension.  I'm sick of the Hamster Wheel
of Backwards Incompatibility eating an hour of my life every time I
stupidly decide to upgrade my software.
dc481ce24b60 — Sascha Nemecek 6 years ago
fix error with hg versions <4.3 (regression from commit:4dddc56)
4dddc56c4c4b — Kevin Bullock 6 years ago
Use @registrar.command where available (hg 3.7+).
064a8c1d11be — Oben Sonne 7 years ago
Fix example of HGRC template in help output
003e92ae20da — Oben Sonne 7 years ago
Command line overwrites format string from HGRC

Also extends help to mention hgrc setting.
2e292ca8d768 — Oben Sonne 10 years ago
Add test for reading format string from HGRC
046811b7cb2d — Oben Sonne 10 years ago
Use format string from HGRC if available

This allows repository specific prompts (e.g. no status in large repos
or no incoming/outgoing on repos where the remote communication is too
Backout the daemon stuff
I fixed my deployed `hg-prompt` thinking I had done it
in the version I pushed to bitbucket. I only noticed it
because I had to reinstall. :/