07e1b5f8e641

Reorder the patterns (almost) alphabetically.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 23 Jul 2009 02:06:25 -0400
parents 35e941dc16cb
children 240e531b5fc7
branches/tags (none)
files prompt.py

Changes

--- 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'),
     }