Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
print error message when p4 print fails (eg. due to permission problems)
author
Han-Wen Nienhuys
<hanwen@google.com>
Wed, 23 May 2007 21:49:35 +0000
(18:49 -0300)
committer
Han-Wen Nienhuys
<hanwen@google.com>
Fri, 8 Jun 2007 21:19:16 +0000
(18:19 -0300)
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
contrib/fast-import/git-p4
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
7530a40
)
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index e955ad4f442d1e44cf96079f8589687ba487c26e..35c24c93e3e0705e6861838684c42853d5322e2d 100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/git-p4
@@
-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: