I had some unexpected fossil behaviour and would like to
understand it.
This is the first 'surprise' I have had which I could
not understand via more experiments and/or reading
more documentation.
I will use the word repo(s) to mean repository(ies) below.
---
SYNOPSIS:
Synchronization between two laptops appears not to work
when using an intermediate repository. Though each user
sees his local repo synchronized to the remote repo, each
does not see each other's updates to the remote repo.
---
DETAILS:
The three machines I will describe all run GNU/Linux (Ubuntu).
All have the same version of fossil installed in /usr/local/bin
from compilation on my laptop.
$ fossil version
This is fossil version [6a40733531] 2009-09-04 20:19:00 UTC
I have a repository on a remote server, lets call it docs.fossil.
I have the repository locally (on my laptop), also called
doc.fossil.
On my laptop I do
$ cd ~/misc/docs
$ fossil open /home/fossil/repositories/docs.fossil
edit or add file(s)
$ fossil ci -m "my revision comments"
Now, via my browser, I see the changes on my local repository
and also on the remote repository. I feed both repositories
to http using lighttpd and .cgi scripts, e.g., for docs.cgi
#!/usr/local/bin/fossil
repository: /home/fossil/repositories/docs.fossil
I access the remote server via
$ ssh -L 3150:192.168.0.50:81 remote.server.com
and then to access remote repo via my browser, I use
URL http://localhost:3150/cgi/docs.cgi
Now, I edit a wiki page via my browser on my local
repository. And from command line do
$ fossil sync
I can now see the changes/additions on the remote repo
via my browser. Same if I add/edit files locally and
commit, I see them in remote repo.
Enter remotely working colleague. He clones repository
from remote.server.com to his laptop. He opens his
repository on his laptop, adds a new directory in his
workspace (which includes files and subdirectories).
He fossil adds and commits. I can see his changes in
the remote repo via my browser.
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 ?
Thanks for any observations, suggestions, or solutions.
--
Michael McDaniel
Portland, Oregon, USA
http://autosys.us
http://trip.autosys.us
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users