jenkins-bot has submitted this change and it was merged.

Change subject: Make sure new files are added
......................................................................


Make sure new files are added

Also reduce number of lines by combining pattern matches

Change-Id: I24f9a00aa0094eb12bd0dbd4e97b3d783d68febb
---
M bin/repocommit
1 file changed, 3 insertions(+), 7 deletions(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/bin/repocommit b/bin/repocommit
index a58cab7..295105a 100755
--- a/bin/repocommit
+++ b/bin/repocommit
@@ -164,13 +164,8 @@
 elif [ "$PROJECT" = "okawix" ]
 then
        cd $PROJECT
-       svn add -q *
-       for i in `find . -name *.dtd`
-       do
-               svn propset -q svn:mime-type text/plain $i
-               svn propset -q svn:eol-style native $i
-       done
-       for i in `find . -name *.properties`
+       svn add -q --force *
+       for i in `find . -name *.dtd -o -name *.properties`
        do
                svn propset -q svn:mime-type text/plain $i
                svn propset -q svn:eol-style native $i
@@ -195,6 +190,7 @@
 elif [ "$PROJECT" = "wikiblame" ]
 then
        cd $PROJECT
+       svn add -q *.php
        svn propset -q svn:eol-style native *.php
        svn commit --message "$COMMITMSG"
        cd ..

-- 
To view, visit https://gerrit.wikimedia.org/r/87693
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I24f9a00aa0094eb12bd0dbd4e97b3d783d68febb
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to