progress: fix adding format elements after the progress bar
authorAugie Fackler <durin42@gmail.com>
Wed, 15 Dec 2010 10:20:36 -0600
changeset 13146 43575c67add3
parent 13145 ce4cd176634e
child 13147 082f5be788d9
progress: fix adding format elements after the progress bar Prior to this change, format elements after the progress bar would show up in the wrong order.
hgext/progress.py
--- a/hgext/progress.py	Wed Dec 15 11:20:32 2010 -0600
+++ b/hgext/progress.py	Wed Dec 15 10:20:36 2010 -0600
@@ -131,7 +131,7 @@
             if not needprogress:
                 head = spacejoin(head, add)
             else:
-                tail = spacejoin(add, tail)
+                tail = spacejoin(tail, add)
         if needprogress:
             used = 0
             if head: