[Unison-hackers] Not picking up changes on Mac

Isaac Schlueter i at foohack.com
Thu Oct 30 15:46:58 EDT 2008


I'm using version 2.27.57 on a Leopard intel Mac.  I'm syncing to a
RHEL box running the same version of Unison of course.  Here's the
uname -a info for both:
Darwin sistertrain-lm 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep  3
11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386 i386
Linux visitbread.corp.yahoo.com 2.6.18-53.1.14.el5 #1 SMP Tue Feb 19
07:18:21 EST 2008 i686 i686 i386 GNU/Linux

For some reason I can't seem to work out, it looks like Unison isn't
scanning the whole directory for changes.  If I change a file on the
Linux machine I'm syncing to, it picks that up, and pulls it over.
But changes on the Mac never seem to be propagated to the Linux box.

Here are the settings I'm using with Unison:

yap.prf contains this:
root = /Users/isaacs/dev/main/yahoo/yap/
root = ssh://isaacs@visitbread.corp.yahoo.com//homes/isaacs/dev/main/yahoo/yap/

The interactive command:
unison -ui text -times -ignore 'Regex .*docs/2008[0-9]{4}/.*' yap

The push command:
unison -ui text -times -ignore 'Regex .*docs/2008[0-9]{4}/.*' -force
/Users/isaacs/dev/main/yahoo/yap/ -batch -terse yap

The batch repeat command:
unison -ui text -times -ignore 'Regex .*docs/2008[0-9]{4}/.*' -terse
-repeat 1 -batch yap

There are 16 sub-folders under yap/src, and thousands of files, but
when I run the interactive command, it only shows that it's "scanning"
about 12 files.  When the batch command is running, I can change a
file on the Mac, and then change a different file on the RHEL box.
The change on the RHEL machine will be propagated on the next sync,
but the change on the Mac usually won't be propagated ever.

Another note, the folder does contain an awful lot of stuff.  Could it
be that it's just too big?  Should I try cutting it up into multiple
smaller unison processes?

Any other ideas?

Thanks!

--
Isaac Z. Schlueter


More information about the Unison-hackers mailing list