From: <cha...@us...> - 2012-12-19 20:46:38
|
Revision: 44327 http://sourceforge.net/p/tikiwiki/code/44327 Author: changi67 Date: 2012-12-19 20:46:35 +0000 (Wed, 19 Dec 2012) Log Message: ----------- [FIX] Wrong url Modified Paths: -------------- branches/10.x/doc/devtools/svntools.php Modified: branches/10.x/doc/devtools/svntools.php =================================================================== --- branches/10.x/doc/devtools/svntools.php 2012-12-19 20:44:57 UTC (rev 44326) +++ branches/10.x/doc/devtools/svntools.php 2012-12-19 20:46:35 UTC (rev 44327) @@ -1,12 +1,12 @@ <?php // (c) Copyright 2002-2010 by authors of the Tiki Wiki/CMS/Groupware Project -// +// // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id$ define('SVN_MIN_VERSION', 1.3); -define('TIKISVN', 'https://tikiwiki.svn.sourceforge.net/svnroot/tikiwiki'); +define('TIKISVN', 'https://svn.code.sf.net/p/tikiwiki/code'); function full($relative) { @@ -34,7 +34,7 @@ } function error($message) -{ +{ die(color($message, 'red') . "\n"); } @@ -73,7 +73,7 @@ if (is_experimental($destination)) return is_trunk($source); - + return false; } @@ -108,10 +108,10 @@ function has_uncommited_changes($localPath) { $localPath = escapeshellarg($localPath); - + $dom = new DOMDocument; $dom->loadXML(`svn status --xml $localPath`); - + $xp = new DOMXPath($dom); $count = $xp->query("/status/target/entry/wc-status[@item = 'added' or @item = 'conflicted' or @item = 'deleted' or @item = 'modified' or @item = 'replaced']"); @@ -121,10 +121,10 @@ function get_conflicts($localPath) { $localPath = escapeshellarg($localPath); - + $dom = new DOMDocument; $dom->loadXML(`svn status --xml $localPath`); - + $xp = new DOMXPath($dom); $list = $xp->query("/status/target/entry/wc-status[@item = 'conflicted']"); @@ -135,7 +135,7 @@ { $short = preg_quote(short($source), '/'); $pattern = "/^\\[(MRG|BRANCH)\\].*$short'?\s+\d+\s+to\s+(\d+)/"; - + $descriptorspec = array( 0 => array('pipe', 'r'), 1 => array('pipe', 'w'), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |