Commits

Author Commit Message Labels Comments Date
Colin Barrett
qlist now shows information about guards. Fixes #2. Specifically: - guards are shown after patch names but before tag names - patches that would not apply with the current guard settings are wrapped in () - the (next) label now takes guards into account when calculating which patch would be the next pushed
Colin Barrett
Fix issue #1: Don't display ' (next)' when it would otherwise be obvious which patch is next.
Colin Barrett
Add a module-level docstring that shows up when you do `hg help`.
Colin Barrett
Fix a potential problem when printing to a pipe instead of to a terminal. This was supposed to be in a4fd650bc68c, oops.
Colin Barrett
Add the label " (next)" to the top of the qunapplied stack, indicating the direction in which it's ordered.
Peter Hosey
Fix the help output.
Peter Hosey
Replace the `hg -v qseries`-based implementation with one that accesses the mq object in the same process. This should be faster, more reliable, etc., and is certainly cleaner.
Peter Hosey
First working version with grody subprocess-based implementation. We currently run hg -v qseries to get the patch information we need. TODO: Rip that out and replace with code that goes through the mq module instead.