summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/manifest-format.txt10
-rw-r--r--project.py6
-rw-r--r--subcmds/branches.py2
3 files changed, 9 insertions, 9 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt
index dcc90d07..f63c9d0e 100644
--- a/docs/manifest-format.txt
+++ b/docs/manifest-format.txt
@@ -27,15 +27,15 @@ following DTD:
27 remove-project*, 27 remove-project*,
28 project*, 28 project*,
29 repo-hooks?)> 29 repo-hooks?)>
30 30
31 <!ELEMENT notice (#PCDATA)> 31 <!ELEMENT notice (#PCDATA)>
32 32
33 <!ELEMENT remote (EMPTY)> 33 <!ELEMENT remote (EMPTY)>
34 <!ATTLIST remote name ID #REQUIRED> 34 <!ATTLIST remote name ID #REQUIRED>
35 <!ATTLIST remote alias CDATA #IMPLIED> 35 <!ATTLIST remote alias CDATA #IMPLIED>
36 <!ATTLIST remote fetch CDATA #REQUIRED> 36 <!ATTLIST remote fetch CDATA #REQUIRED>
37 <!ATTLIST remote review CDATA #IMPLIED> 37 <!ATTLIST remote review CDATA #IMPLIED>
38 38
39 <!ELEMENT default (EMPTY)> 39 <!ELEMENT default (EMPTY)>
40 <!ATTLIST default remote IDREF #IMPLIED> 40 <!ATTLIST default remote IDREF #IMPLIED>
41 <!ATTLIST default revision CDATA #IMPLIED> 41 <!ATTLIST default revision CDATA #IMPLIED>
@@ -46,7 +46,7 @@ following DTD:
46 46
47 <!ELEMENT manifest-server (EMPTY)> 47 <!ELEMENT manifest-server (EMPTY)>
48 <!ATTLIST url CDATA #REQUIRED> 48 <!ATTLIST url CDATA #REQUIRED>
49 49
50 <!ELEMENT project (annotation?, 50 <!ELEMENT project (annotation?,
51 project*)> 51 project*)>
52 <!ATTLIST project name CDATA #REQUIRED> 52 <!ATTLIST project name CDATA #REQUIRED>
@@ -65,7 +65,7 @@ following DTD:
65 <!ATTLIST annotation name CDATA #REQUIRED> 65 <!ATTLIST annotation name CDATA #REQUIRED>
66 <!ATTLIST annotation value CDATA #REQUIRED> 66 <!ATTLIST annotation value CDATA #REQUIRED>
67 <!ATTLIST annotation keep CDATA "true"> 67 <!ATTLIST annotation keep CDATA "true">
68 68
69 <!ELEMENT remove-project (EMPTY)> 69 <!ELEMENT remove-project (EMPTY)>
70 <!ATTLIST remove-project name CDATA #REQUIRED> 70 <!ATTLIST remove-project name CDATA #REQUIRED>
71 71
diff --git a/project.py b/project.py
index 66316411..b01a52ba 100644
--- a/project.py
+++ b/project.py
@@ -1840,11 +1840,11 @@ class Project(object):
1840 cookiefile = line[len(prefix):] 1840 cookiefile = line[len(prefix):]
1841 break 1841 break
1842 if p.wait(): 1842 if p.wait():
1843 line = iter(p.stderr).next() 1843 err_msg = p.stderr.read()
1844 if ' -print_config' in line: 1844 if ' -print_config' in err_msg:
1845 pass # Persistent proxy doesn't support -print_config. 1845 pass # Persistent proxy doesn't support -print_config.
1846 else: 1846 else:
1847 print(line + p.stderr.read(), file=sys.stderr) 1847 print(err_msg, file=sys.stderr)
1848 if cookiefile: 1848 if cookiefile:
1849 return cookiefile 1849 return cookiefile
1850 except OSError as e: 1850 except OSError as e:
diff --git a/subcmds/branches.py b/subcmds/branches.py
index c2e7c4b9..f714c1e8 100644
--- a/subcmds/branches.py
+++ b/subcmds/branches.py
@@ -139,7 +139,7 @@ is shown, then the branch appears in all projects.
139 if in_cnt < project_cnt: 139 if in_cnt < project_cnt:
140 fmt = out.write 140 fmt = out.write
141 paths = [] 141 paths = []
142 if in_cnt < project_cnt - in_cnt: 142 if in_cnt < project_cnt - in_cnt:
143 in_type = 'in' 143 in_type = 'in'
144 for b in i.projects: 144 for b in i.projects:
145 paths.append(b.project.relpath) 145 paths.append(b.project.relpath)