3

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

dziadgba
  • 135
  • 7
Daniel Gartmann
  • 11,678
  • 12
  • 45
  • 60

3 Answers3

5

In my case (Version 2.40.65) the accepted solution don't work. It only works for the .svn folder located directly in the root directory I am synchronizing.

The following line effectively does the ignore:

ignore = Name {.svn}

The Unison manual for version the Version 2.40.65 I am using confirms that.

Manuel Selva
  • 18,554
  • 22
  • 89
  • 134
3

Add

ignore = Path {.svn}

to the .prf file in your .unison folder.

Gabriel Cuvillier
  • 3,617
  • 1
  • 28
  • 35
2

If you're still having trouble, the following worked for me on Windows:

ignore = Path {*/.svn}
Ian Clark
  • 9,237
  • 4
  • 32
  • 49
Alexo
  • 31
  • 3
  • I don't see the need to reference some other comment (which you're even referring to, I'm not sure). I'll edit – Ian Clark Aug 03 '13 at 16:25