Browse Source

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

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
maint
Han-Wen Nienhuys 18 years ago
parent
commit
1b9a46849a
  1. 5
      contrib/fast-import/git-p4

5
contrib/fast-import/git-p4

@ -702,6 +702,11 @@ class P4Sync(Command):
text += filedata[j]['data'] text += filedata[j]['data']
j += 1 j += 1



if not stat.has_key('depotFile'):
sys.stderr.write("p4 print fails with: %s\n" % repr(stat))
continue

contents[stat['depotFile']] = text contents[stat['depotFile']] = text


for f in files: for f in files:

Loading…
Cancel
Save