svn: /web/doc-editor/trunk/php/ SvnClient.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sun, 29 Nov 2009 15:17:23 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=291429

Log:
Add complete svn's properties. Add eol-style properties too when a new file is added to the repository.

Changed paths:
    U   web/doc-editor/trunk/php/SvnClient.php

Modified: web/doc-editor/trunk/php/SvnClient.php
===================================================================
--- web/doc-editor/trunk/php/SvnClient.php	2009-11-29 15:12:21 UTC (rev 291428)
+++ web/doc-editor/trunk/php/SvnClient.php	2009-11-29 15:17:23 UTC (rev 291429)
@@ -347,7 +347,7 @@

         $cmdCreate = $cmdDelete = '';
         if (trim($filesCreate) != '') {
-            $cmdCreate = "svn add $filesCreate ; svn propset svn:keywords \"Revision\" $filesCreate ; ";
+            $cmdCreate = "svn add $filesCreate ; svn propset svn:keywords \"Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL\" $filesCreate ; svn propset svn:eol-style \"native\" ; ";
         }
         if (trim($filesDelete) != '') {
             $cmdDelete = "svn delete $filesDelete ; ";
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.