SF.net SVN: geany:[2904] trunk/scripts/svn-add.sh

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Aug 26 15:18:37 UTC 2008


Revision: 2904
          http://geany.svn.sourceforge.net/geany/?rev=2904&view=rev
Author:   ntrel
Date:     2008-08-26 15:18:36 +0000 (Tue, 26 Aug 2008)

Log Message:
-----------
Add script to add a file to SVN, setting the correct properties and warning about updating po/POTFILES.in.

Added Paths:
-----------
    trunk/scripts/svn-add.sh

Added: trunk/scripts/svn-add.sh
===================================================================
--- trunk/scripts/svn-add.sh	                        (rev 0)
+++ trunk/scripts/svn-add.sh	2008-08-26 15:18:36 UTC (rev 2904)
@@ -0,0 +1,8 @@
+#!/bin/sh
+FILE=$1
+if [[ -n $FILE ]]; then
+	svn add $FILE
+	svn propset svn:keywords 'Author Date Id Revision' $FILE
+	svn propset svn:eol-style native $FILE
+fi
+echo '>>> Remember to update po/POTFILES.in (if necessary) <<<'


Property changes on: trunk/scripts/svn-add.sh
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list