Re: [PATCH] git-svn: avoid crashing svnserve when creating new directories
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- May 19, 2007, 12:02 UTC
- Message-ID
- <vpq7ir5m36r.fsf@bauges.imag.fr>
- In-Reply-To
- <20070519105800.GA22230@muzzle>
Eric Wong <normalperson@yhbt.net> writes:
> I have a modified version of the test I posted earlier based on your > test. However, I'm not comfortable binding to any port (even without > ssh) on a users machine or potentially leaving a daemon running if the > test is interrupted.
How about keeping the pid somewhere, and using "trap" to kill the svn server process on interruption?
-- Matthieu