From deec0536d657be178e8eed2d597afb9fdc716e99 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Sat, 18 Apr 2009 11:22:13 -0700 Subject: [PATCH] Only display project path in 'repo stage -i' Generally we only show the project path, relative from the top of the client. Showing the project name may be confusing for the end-user. Signed-off-by: Shawn O. Pearce --- subcmds/stage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subcmds/stage.py b/subcmds/stage.py index c451cd6d..4c221dba 100644 --- a/subcmds/stage.py +++ b/subcmds/stage.py @@ -55,12 +55,12 @@ The '%prog' command stages files to prepare the next commit. out = _ProjectList(self.manifest.manifestProject.config) while True: - out.header(' %-20s %s', 'project', 'path') + out.header(' %s', 'project') out.nl() for i in xrange(0, len(all)): p = all[i] - out.write('%3d: %-20s %s', i + 1, p.name, p.relpath + '/') + out.write('%3d: %s', i + 1, p.relpath + '/') out.nl() out.nl()