summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9343713)
raw | patch | inline | side by side (parent: 9343713)
author | Simon Hausmann <simon@lst.de> | |
Sat, 10 Mar 2007 08:49:19 +0000 (09:49 +0100) | ||
committer | Simon Hausmann <simon@lst.de> | |
Sat, 10 Mar 2007 08:49:19 +0000 (09:49 +0100) |
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/p4-debug.p4 | [deleted file] | patch | blob | history |
contrib/fast-import/p4-debug.py | [new file with mode: 0755] | patch | blob |
diff --git a/contrib/fast-import/p4-debug.p4 b/contrib/fast-import/p4-debug.p4
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/python
-#
-# p4-debug.py
-#
-# Author: Simon Hausmann <hausmann@kde.org>
-# License: MIT <http://www.opensource.org/licenses/mit-license.php>
-#
-# executes a p4 command with -G and prints the resulting python dicts
-#
-import os, string, sys
-import marshal, popen2
-
-cmd = ""
-for arg in sys.argv[1:]:
- cmd += arg + " "
-
-pipe = os.popen("p4 -G %s" % cmd, "rb")
-try:
- while True:
- entry = marshal.load(pipe)
- print entry
-except EOFError:
- pass
-pipe.close()
-
diff --git a/contrib/fast-import/p4-debug.py b/contrib/fast-import/p4-debug.py
--- /dev/null
@@ -0,0 +1,25 @@
+#!/usr/bin/python
+#
+# p4-debug.py
+#
+# Author: Simon Hausmann <hausmann@kde.org>
+# License: MIT <http://www.opensource.org/licenses/mit-license.php>
+#
+# executes a p4 command with -G and prints the resulting python dicts
+#
+import os, string, sys
+import marshal, popen2
+
+cmd = ""
+for arg in sys.argv[1:]:
+ cmd += arg + " "
+
+pipe = os.popen("p4 -G %s" % cmd, "rb")
+try:
+ while True:
+ entry = marshal.load(pipe)
+ print entry
+except EOFError:
+ pass
+pipe.close()
+