summaryrefslogtreecommitdiffstats
path: root/subcmds/forall.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2013-06-05 15:54:48 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-06-05 15:54:48 +0000
commitc2791e85f322bb7d5007ee7e673134d5fa2ed662 (patch)
tree9b50df24eac7bfafed0e247b4928d504d560c227 /subcmds/forall.py
parent74c1f3d5e6ce819797795a2931cc32a9ed5535cb (diff)
parent5bca9fcdd9dfe4fd31fffe332579f982738b5997 (diff)
downloadgit-repo-c2791e85f322bb7d5007ee7e673134d5fa2ed662.tar.gz
Merge "Print project name for -p on mirror clients"
Diffstat (limited to 'subcmds/forall.py')
-rw-r--r--subcmds/forall.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/subcmds/forall.py b/subcmds/forall.py
index 7d5f7794..e2a420a9 100644
--- a/subcmds/forall.py
+++ b/subcmds/forall.py
@@ -260,7 +260,12 @@ without iterating through the remaining projects.
260 first = False 260 first = False
261 else: 261 else:
262 out.nl() 262 out.nl()
263 out.project('project %s/', project.relpath) 263
264 if mirror:
265 project_header_path = project.name
266 else:
267 project_header_path = project.relpath
268 out.project('project %s/', project_header_path)
264 out.nl() 269 out.nl()
265 out.flush() 270 out.flush()
266 if errbuf: 271 if errbuf: