Răsfoiți Sursa

Fix repo status when there are renamed/copied files

I missed a parameter in the format string, but still provided the
value in the parameter list, so the format failed to produce an
output message.

Bug: REPO-15
Signed-off-by: Shawn O. Pearce <sop@google.com>
Shawn O. Pearce 17 ani în urmă
părinte
comite
fe08675956
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      project.py

+ 1 - 1
project.py

@@ -358,7 +358,7 @@ class Project(object):
       else: f_status = '-'
 
       if i and i.src_path:
-        line = ' %s%s\t%s => (%s%%)' % (i_status, f_status,
+        line = ' %s%s\t%s => %s (%s%%)' % (i_status, f_status,
                                         i.src_path, p, i.level)
       else:
         line = ' %s%s\t%s' % (i_status, f_status, p)