1. Ivan Andrus
  2. hg-prompt


Chris Mansley  committed 91bec91

Fixed hg help screen for prompt

hg help would report "(no help text available)" for the prompt plugin
because the package comment was located after the future import. This
patch fixes that problem by relocating the future import to after the
package comment.

  • Participants
  • Parent commits c4095c3
  • Branches default

Comments (0)

Files changed (1)

File prompt.py

View file
  • Ignore whitespace
 #!/usr/bin/env python
-from __future__ import with_statement
 '''get repository information for use in a shell prompt
 Take a string, parse any special variables inside, and output the result.
 a shell prompt.
+from __future__ import with_statement
 import re
 import os
 import subprocess