Author: espreon
Date: Tue Mar  1 03:32:44 2011
New Revision: 48695

URL: http://svn.gna.org/viewcvs/wesnoth?rev=48695&view=rev
Log:
Don't bitch about the lack of an _info.cfg if '.hg' exists at the root of the 
addon.

Modified:
    trunk/src/addon/manager.cpp

Modified: trunk/src/addon/manager.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/addon/manager.cpp?rev=48695&r1=48694&r2=48695&view=diff
==============================================================================
--- trunk/src/addon/manager.cpp (original)
+++ trunk/src/addon/manager.cpp Tue Mar  1 03:32:44 2011
@@ -1507,7 +1507,8 @@
                else if (!file_exists(parentd+"/"+addon+".pbl")
                          && !file_exists(parentd+"/"+addon+"/_server.pbl")
                          && !file_exists(parentd+"/"+addon+"/.svn")
-                         && !file_exists(parentd+"/"+addon+"/.git")) {
+                         && !file_exists(parentd+"/"+addon+"/.git")
+                         && !file_exists(parentd+"/"+addon+"/.hg")) {
                                WRN_CFG << "add-on '" << addon << "' has no 
_info.cfg; cannot read version info\n";
                }
        }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to