summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-03-03 13:49:48 -0800
committerShawn O. Pearce <sop@google.com>2009-03-03 13:49:48 -0800
commitfe0867595635b0dc007088053c5901331ac92536 (patch)
tree3930f4c4b92da8ab4d82c59791692b189a446d27
parentbe0e8ac232de862d287927c4d735cf30f040cf42 (diff)
downloadgit-repo-fe0867595635b0dc007088053c5901331ac92536.tar.gz
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>
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index 8cdb8b19..b1c0439a 100644
--- a/project.py
+++ b/project.py
@@ -358,7 +358,7 @@ class Project(object):
358 else: f_status = '-' 358 else: f_status = '-'
359 359
360 if i and i.src_path: 360 if i and i.src_path:
361 line = ' %s%s\t%s => (%s%%)' % (i_status, f_status, 361 line = ' %s%s\t%s => %s (%s%%)' % (i_status, f_status,
362 i.src_path, p, i.level) 362 i.src_path, p, i.level)
363 else: 363 else:
364 line = ' %s%s\t%s' % (i_status, f_status, p) 364 line = ' %s%s\t%s' % (i_status, f_status, p)