In directories under subversion there may be files which you do not want to add to subversion. Nella directory sotto la sovversione vi possono essere file di cui non si desidera aggiungere alla sovversione. Normally such files would show in subversion status (svn stat) with ? Normalmente questi file verrebbe visualizzato in stato di sovversione (svn stat)? in front of them. davanti a loro. This is useful to let you find files that you may have missed. Questo è utile per permettere di trovare i file che si possono avere perdere. However in some cases there are files you want to intentionally miss, such files then merely clutter the status display. Tuttavia in alcuni casi ci sono file che si desidera intenzionalmente perdere, quindi tali file semplicemente ingombrare lo status display. There is a simple fix. Vi è una semplice correzione.

First do a subversion status display. Prima fare una sovversione dello status display. For example your output may be something like: Per esempio il vostro output può essere qualcosa di simile:

? ? etc/myexcel.properties etc / myexcel.properties
? ? etc/myexcel.log etc / myexcel.log
? ? etc/myexcel.script etc / myexcel.script
? ? etc/myexcel.lck etc / myexcel.lck
? ? classes/com classi / it

You may want to exclude all the myexcel files in etc directory. È possibile che si desideri escludere tutti i file in myexcel etc directory. To do that type: Per fare questo tipo:
svn propedit svn:ignore etc svn propedit svn: ignorare etc

A file in your favorite editor will open up. Un file nel vostro editor preferito aprirà. Add the files you want to exclude there, one per line. Aggiungere i file che si desidera escludere, uno per riga. In this example you may want to add: In questo esempio è possibile aggiungere:

myexcel.properties myexcel.properties
myexcel.log myexcel.log
myexcel.script myexcel.script
myexcel.lck myexcel.lck

Save the file and exit from the editor. Salvare il file e uscire dal redattore.
Now do a commit and you are done: Ora fare un impegno e si è fatto:
svn commit -m "Added files to subversion ignore list." svn commit-m "Aggiunto file alla sovversione ignorare."

Note 1: You may have to export / set EDITOR variable. Nota 1: Potrebbe essere necessario esportare / set variabile EDITOR. I did: Ho fatto:
export EDITOR=gedit export EDITOR = gedit

Note 2: Adding files in subdirectories directly didn’t work. Nota 2: Aggiunta di file nella sottodirectory direttamente non ha funzionato. For example the following didn’t work: Ad esempio la seguente non ha funzionato:

etc/myexcel.properties etc / myexcel.properties
etc/myexcel.log etc / myexcel.log
etc/myexcel.script etc / myexcel.script
etc/myexcel.lck etc / myexcel.lck

So to add any file / directory to ignore list, you have to change the properties for the parent directory. In modo di aggiungere un file / directory a ignorare, si devono cambiare le proprietà per la directory principale.