* Sylvain Le Gall [Mon, 10 Dec 2007 22:49:43 +0100]:

> Hello,

Hello Sylvain,

> On Mon, Dec 10, 2007 at 06:55:26PM +0100, Adeodato Simó wrote:
> > Package: unison-gtk
> > Version: 2.13.16-9
> > Severity: normal

> > Suppose I start unison-gtk like:

> >   % unison-gtk empty.prf -path bin

> > Where empty.prf only has includes that set options and contain "ignore"
> > rules.

> > Then, only bin/ is considered. If I click on "Restart", bin/ gets
> > rescanned again, but if I press "r", a whole lot more things get
> > scanned. Not sure if it's just scanning all the root, or the directories
> > specified in default.prf.

> Can you attach you empty.prf to the bug ? This can help me to keep a
> record for this bug (when i will submit it upstream).

My original empty.prf contains lots of irrelevant rules like ignores and
stuff, but this problem is completely reproduceable for me with this
minimal empty2.prf file:

-8<-
root = ssh://desktop//usr
root = /tmp/usr
->8-

Then, I run:

  laptop% mkdir /tmp/usr
  laptop% unison-gtk empty2.prf -path local

Unison starts, warns about being the first sync, and then offers to sync
local from desktop to laptop. I press "Go".

Right after that, if I click on "Restart", it goes to scan, and it
finishes quickly (my /usr/local is small), with no changes.

If, on the other hand, I press the "r" key instead of clicking refresh,
it takes a lot of time, and strace shows that it's processing all of
desktop:/usr.

I hope you can reproduce with this information.

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                                   Listening to: Rebekah del Rio - Dindi



Reply via email to