On Mon, Jan 3, 2011 at 6:43 AM, Pasha <[email protected]> wrote:

> I mange my web site using Fossil. I have a repository on the server as well
> as a
> working copy there.
>
> Any time I make changes and commit I'd like to notify the remote working
> directory (which is also set as Apache's DocumentRoot) to update to
> the latest version.
>
> Thus the question: is it possible to have some kind of post-commit
> hook on the repository
> to automate the process?
>
> This has probably been asked already, but I failed to find the answer.
>

There is a branch in the Fossil source tree to do this, but I did not accept
that branch into the trunk.

I've got a  plan for a better way to do various "hooks", but in order for it
to work cross-platform, I need code that will start a background process on
windows.  By "background" process, I mean a process that will continue
running even after its parent process exits or is killed.  If any windows
experts out there can explain to me how to do that, or provide sample code,
that will expedite getting the "hook" logic into the Fossil trunk.


>
> Thanks.
>
> --
> Good luck,
>
> Pasha Bastov
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>



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

Reply via email to