I'm trying to set up Subversion on Ubuntu Linux. It seems to be working, except that when I made one change and tried svn status
, I found about 100 files had been changed, in the .metadata
directory.
My ~/.subversion/config file currently contains the following line:
global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ .*.swp .DS_Store
What do I need to add to ignore the .metadata files?
The directory under consideration is used by Eclipse for Python development using PyDev, if that matters.
You can ignore unversioned files with status by running:
svn status --quiet
You could simply instruct your svn to ignore that directory entirely:
svn propset svn:ignore path/to/.metadata
More details in this SO answer.
Note: in this case, I would recommend having your Eclipse project defined (.project, .classpath) outside the .metadata
Eclipse directory.
That way, you can:
.metadata
treeSee the SO question "Do you keep your project files under version control?"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With