Merge lp:~spiv/bzr-usertest/server-start-stop into lp:~bzr/bzr-usertest/trunk-old
Proposed by
Andrew Bennetts
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~spiv/bzr-usertest/server-start-stop |
Merge into: | lp:~bzr/bzr-usertest/trunk-old |
To merge this branch: | bzr merge lp:~spiv/bzr-usertest/server-start-stop |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ian Clatworthy | Needs Fixing | ||
Martin Pool (community) | none | Approve | |
Review via email: mp+1321@code.launchpad.net |
To post a comment you must log in.
This is fairly simple. It adds a couple more config variables, server_start_cmd and server_stop_cmd, and runs them at the appropriate time.
I've been using server_start_cmd to point to a shell script that: makes an empty directory, runs "bzr serve --allow-writes" in it, and then waits for bzr serve to actually be listening, then finally exits.