[dev] Patch for svn chora
Jason Rust
jrust at rustyparts.com
Mon Dec 29 12:29:05 PST 2003
Attached is a patch that fixes chora to work with the latest version of
subversion (0.35) (they changed their log file format in v 0.33).
-Jason
-------------- next part --------------
Index: svn.php
===================================================================
RCS file: /repository/framework/VC/VC/svn.php,v
retrieving revision 1.4
diff -u -r1.4 svn.php
--- svn.php 5 Nov 2003 02:45:52 -0000 1.4
+++ svn.php 29 Dec 2003 20:18:11 -0000
@@ -735,7 +735,7 @@
return false;
}
- preg_match('/^rev ([0-9]*): ([^ ]*) \| (.*) \(.*\) \| ([0-9]*) lines?$/', $line, $matches);
+ preg_match('/^r([0-9]*) \| ([^ ]*) \| (.*) \(.*\) \| ([0-9]*) lines?$/', $line, $matches);
$this->rev = $matches[1];
$this->author = $matches[2];
$this->date = strtotime($matches[3]);
More information about the dev
mailing list