提交 1b9a4684 编写于 作者: H Han-Wen Nienhuys

print error message when p4 print fails (eg. due to permission problems)

Signed-off-by: NHan-Wen Nienhuys <hanwen@google.com>
上级 7530a40c
......@@ -702,6 +702,11 @@ class P4Sync(Command):
text += filedata[j]['data']
j += 1
if not stat.has_key('depotFile'):
sys.stderr.write("p4 print fails with: %s\n" % repr(stat))
continue
contents[stat['depotFile']] = text
for f in files:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册