The problem is that if you use Subversion you lose the ability to easily merge changes made across different servers. In my case this won't happen very often, but I do need to have the option of doing it when two servers "sharing" the same filesystem can't see each other and have to perform simultaneous changes on the same files.<br>
<br>Git works on Windows, but not as good as it does on Linux. My problem, for the time being, is restricted to Linux so it is not a problem.<br><br><br><br><div class="gmail_quote">On Tue, May 20, 2008 at 5:45 PM, Johan Holmberg <<a href="mailto:johan556@gmail.com">johan556@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">2008/5/20 Juan Jose Comellas <<a href="mailto:juanjo@comellas.org">juanjo@comellas.org</a>>:<br>

</div><div class="Ih2E3d">> Have you thought about using a distributed version control system such as<br>
> Git for this? I have the same problem, with the added need to track the<br>
> history of changes of each file, and I'm planning to build an Erlang wrapper<br>
> over Git. This wrapper could also provide a transactional interface to the<br>
> filesystem, giving you the ability to rollback to a previous version of the<br>
> file in case of a problem.<br>
><br>
<br>
</div>Interesting idea. I have thought about using Subversion (the version<br>
control system we normally use), but dismissed it as to complicated<br>
(with the need for a third machine, the Subversion-server, and with<br>
all the space overhead in the local .svn directories).<br>
<br>
Does Git work well on Windows? And can it operate in client-server<br>
fashion, or does it need filesystem access between the machines?<br>
<br>
Your kind of solution could perhaps suit me too, even if I'm not<br>
primarily interested in the change history.<br>
<font color="#888888"><br>
/Johan Holmberg<br>
</font><div><div></div><div class="Wj3C7c"><br>
><br>
> On Sat, May 17, 2008 at 6:33 PM, Johan Holmberg <<a href="mailto:johan556@gmail.com">johan556@gmail.com</a>> wrote:<br>
>><br>
>> Hi!<br>
>><br>
>> I have a number of Erlang-nodes running on different physical<br>
>> machines. I want each node to have a local copy of the same directory<br>
>> tree. Is there any existing Erlang-library that can do this?<br>
>><br>
>> The erlang nodes I use can be on either Linux or Windows.<br>
>><br>
>> I don't need an actual "rsync clone", just something that can make<br>
>> sure two directory trees on different machines stay in sync. And I<br>
>> would prefer that small changes to one of the trees were detected fast<br>
>> (like in rsync(1) or unison(1)).<br>
>><br>
>> I realize that one solution would be to build some kind of wrapper in<br>
>> Erlang around rsync(1) or unison(1) (maybe such a thing already<br>
>> exist?) But I would prefer a pure Erlang solution if possible.<br>
>><br>
>> /Johan Holmberg<br>
>> _______________________________________________<br>
>> erlang-questions mailing list<br>
>> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
>> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
><br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br>