我是 SVN 的新手,我找不到让“提交后”更新特定 txt 文件的解决方案。我有一个 php 项目,位于changelog.txt
根文件夹内(与 index.php 位于同一级别)。我想要的是,在每个 之后svn commit
,我的changelog.txt将更新一些信息,如下所示:
*** YYYY-MM-DD HH:MM by SVN_USERNAME
SVN_COMMIT_MESSAGE
-------------------------------------------------
*** 2010-09-22 18:31 by marco.belinni
- eshop category navigation - fixed issue with navigation, due overcaching with previous version of seo tool
-------------------------------------------------
*** 2010-09-20 01:03 by jean.laroche
- plg_c16n - fixed canonicalization with SEO Plugin which redirects non www urls to www urls
- mod_login - fixed ie and ff login, hidded input type "remember me" with checked paramater
- the whole frontpage have bolded text because of bolded "READ MORE" button - need to clean it before posting any article
- eshop browse - 10products per page FIXED by clearing cache and purged ALL urls
- eshop orderby - removed useless "SELECT" option in selection field for sorting out the items on page
-------------------------------------------------
我试图找到一些信息,但是有很多网站展示了 C++ 编程的例子。有没有其他只使用 SVN 和 PHP 的解决方案?因为我什至不是 C++ 的新手。
更新
这是一个视觉效果,向您展示我changelog.txt
的位置:
- web
|- framework
| + engine
| + framework
- web
+ css
+ images
| index.php
-->| changelog.txt
谢谢