commit | c2791e85f322bb7d5007ee7e673134d5fa2ed662 | [log] [tgz] |
---|---|---|
author | Conley Owens <cco3@android.com> | Wed Jun 05 15:54:48 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jun 05 15:54:48 2013 +0000 |
tree | 9b50df24eac7bfafed0e247b4928d504d560c227 | |
parent | 74c1f3d5e6ce819797795a2931cc32a9ed5535cb [diff] | |
parent | 5bca9fcdd9dfe4fd31fffe332579f982738b5997 [diff] |
Merge "Print project name for -p on mirror clients"
diff --git a/subcmds/forall.py b/subcmds/forall.py index 7d5f779..e2a420a 100644 --- a/subcmds/forall.py +++ b/subcmds/forall.py
@@ -260,7 +260,12 @@ first = False else: out.nl() - out.project('project %s/', project.relpath) + + if mirror: + project_header_path = project.name + else: + project_header_path = project.relpath + out.project('project %s/', project_header_path) out.nl() out.flush() if errbuf: