Monday, July 21, 2014

SVN - change file properties

Here is how to set a file as executable :
     svn propset svn:executable ON nom_du_fichier
and reverse it :
     svn propdel svn:executable nom_du_fichier
Here is how to indicate that a file is a text (in order to "svn diff" and automatic conflict resolution to work) :
     svn propset svn:mime-type text/plain nom_du_fichier
and how to indicate a is "binairy" :
     svn propset svn:mime-type application/octet-stream nom_du_fichier

No comments:

Post a Comment