4

How can I exclude all the svn metadata while synchronizing with unison?

So that all subfiles/folders are also ignored!

Thank you for you help

Jorge Castro
  • 73,717

3 Answers3

4

In your preferences file:

ignore Name .svn

On the command line: unison -ignore 'Name .svn'.

It's a little weird to synchronize svn checkouts though. Usually people keep separate checkouts on separate machine and synchronize via the repository.

1

You can exclude specific files or directories by putting "ignore" lines in your unison config file. This should be ~/.unison/default.prf (or whatever the config file is for your specific sync profile).

[edited to just be where to put the ignore lines, since Gilles' answer solved the specific question better]

0

I haven't tested this myself, but according to the manual, the --ignore "*/.svn/*" option should help.

Eliah Kagan
  • 119,640
João Pinto
  • 17,323