get file path from svn diff file with PHP and C
Posted
by coderex
on Stack Overflow
See other posts from Stack Overflow
or by coderex
Published on 2010-03-17T06:11:15Z
Indexed on
2010/03/17
6:21 UTC
Read the original article
Hit count: 213
hi i have a file having svn diff i wish to extract the filenames form the diff. How to write the parser for that..
Index: libs/constant.php
===================================================================
--- libs/constant.php (revision 1243)
+++ libs/constant.php (revision 1244)
@@ -26,5 +26,5 @@
// changesss
-
+// test 2
?>
\ No newline at end of file
Index: libs/Tools.php
===================================================================
--- libs/Tools.php (revision 1243)
+++ libs/Tools.php (revision 1244)
@@ -34,5 +34,5 @@
// another file an change
-
+// test
?>
\ No newline at end of file
Sample output.
libs/constant.php
libs/Tools.php
How to write parser in PHP and C.
© Stack Overflow or respective owner