On Sep 16, 2009, at 10:51 AM, Michael McDaniel wrote: > > On my laptop I do > > $ fossil sync > > and see more bytes exchanged than usual. But when I > look at my local repo via my browser I do not see the > additional directory (and files) he added and which > show on the remote repo. > > That last paragraph is the unexpected behaviour. I > expected to see his addition in my local repository > once I did a 'fossil sync'. > > QUESTION: > How do I get my colleagues changes to my repository > via the intermediate server repository ?
This should work. You should be able to see the new files in your repository. You are using your web-browser to look, right? Not in your check- out. To move the new files into your check-out, you need to run "fossil update" too. There are some URLs that you can enter that only show the set of files that existed for a particular check-in. If you are using that URL and you have specified an earlier check-in before your co-worker added the files, then the new files will not show up. What URL are you using to view the files? Did you press "Refresh" on your browser? I have found that making the sync algorithm both bandwidth-efficient and correct is more difficult than you might think. Historically, there have been multiple bugs that prevent a sync from working fully. No data has ever been lost, but sometimes not all of the data gets transferred. You might have found a new bug. Or you might be using an older version of fossil that contains a sync bug that has been fixed already. What version of fossil are you using (both locally and on the server)? Sometimes a work-around to these sync bugs is to "rebuild" the repositories (both locally and remote) prior to the sync. Please see if that helps. FWIW: We have been using fossil as you describe above for over two years and it has been working well for us. Your situation is an anomaly, not some inherent design problem. We'll get to the bottom of it. D. Richard Hipp [email protected] _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

