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>
This commit is contained in:
Shawn O. Pearce 2009-03-03 13:49:48 -08:00
parent be0e8ac232
commit fe08675956

View File

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