Thank you for your prompt response, D. Richard Hipp.

 Resolved, with more detail below ...


On Wed, Sep 16, 2009 at 11:10:13AM -0400, D. Richard Hipp wrote:
> 
> 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.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  Correct, checking in my web-browser, Fire-Fox 3.0.14

  I also tried 'fossil update' in my working directory and
  saw no changes.
~M

> 
> 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?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 https://delora.autosys.us/cgi/docs.cgi/dir
 (not available external to my local LAN)

 I closed the tab and reopened it to my top-level cgi script.
 I then chose the proper repository, and clicked on Files.
~M


> 
> Did you press "Refresh" on your browser?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 Yes, and closed/reopened tab.
~M


> 
> 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.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 I asked my colleague to do a 'fossil all rebuild' and another
 sync but have not yet confirmed if he did that.

 I just did a 'fossil all rebuild' on the remote server.  Then
 I did 'fossil all rebuild' and 'fossil sync' on my laptop.

 And now I have the changes in my local repo as viewed via
 my web-browser.  I clicked Files again and there they are,
 the new additions from my colleague.

 Thank you very much, and I am pleased it was this simple.

 I had not thought of doing a 'fossil all rebuild' on server
 or my laptop because I thought I had already done that.
 When I upgrade fossil I have tried to cultivate the habit
 of doing the 'fossil all rebuild' as part of my upgrade
 process.

 All happy on the fossil front !

 And the version on all three platforms is

  $ fossil version
This is fossil version [6a40733531] 2009-09-04 20:19:00 UTC

~M

> 
> 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.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 I had full confidence we would, having watched the list for
 a little while.  And, already resolved - thank you.

~Michael

> 
> D. Richard Hipp
> [email protected]
> 
> 
> 
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

-- 
Michael McDaniel
Portland, Oregon, USA
http://autosys.us

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to