summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 982bb8a)
raw | patch | inline | side by side (parent: 982bb8a)
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> | |
Wed, 30 May 2007 21:50:41 +0000 (18:50 -0300) |
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
contrib/fast-import/git-p4 | patch | blob | history |
index 63d7a4c995dfd27f599da409f94c3e2b9246e56c..76bbe3fdbfd30f6fdeb32a76837a3faa4be5c88d 100755 (executable)
specs = [(f['path'] + "#" + f['rev'], f) for f in files
if f['action'] != 'delete']
+ if not specs:
+ return
+
data = read_pipe('p4 print %s' % ' '.join(['"%s"' % path
for (path, info) in specs]))