[PATCH 2 of 5] progress: fix adding format elements after the progress bar

Augie Fackler durin42 at gmail.com
Wed Dec 15 11:25:34 CST 2010


# HG changeset patch
# User Augie Fackler <durin42 at gmail.com>
# Date 1292430036 21600
# Node ID b4b57fd01d89c45031e019c84130f66fd214b226
# Parent  ce4cd176634e800fd5663fd4ab5691553bdb0be8
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.

diff --git a/hgext/progress.py b/hgext/progress.py
--- a/hgext/progress.py
+++ b/hgext/progress.py
@@ -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:


More information about the Mercurial-devel mailing list