# HG changeset patch # User Steve Losh # Date 1248329185 14400 # Node ID 07e1b5f8e64187866f4fa134a6dc2d8cea6164ec # Parent 35e941dc16cba1d2eca3e5f70ec1c1055fedf829 Reorder the patterns (almost) alphabetically. diff -r 35e941dc16cb -r 07e1b5f8e641 prompt.py --- a/prompt.py Thu Jul 23 01:50:06 2009 -0400 +++ b/prompt.py Thu Jul 23 02:06:25 2009 -0400 @@ -156,12 +156,13 @@ tag_start = r'\{([^{}]*?\{)?' tag_end = r'(\}[^{}]*?)?\}' patterns = { + 'bookmark': _bookmark, 'branch': _branch, - 'status': _status, - 'bookmark': _bookmark, - 'task': _task, 'root': _root, 'root\|basename': _basename, + 'status': _status, + 'task': _task, + 'incoming(\|count)?': _remote('incoming'), 'outgoing(\|count)?': _remote('outgoing'), }