cmdutil.service: move pidfile writing to a local function
An upcoming patch will reuse this code.
inotify: add pidfile to parent options
An upcoming patch will move pidfile writing from the parent to the child. This
means that if the pid file isn't specified on the command-line but is specified
as a config option, it needs to be added to the parent's opts dict.
get-with-headers: don't block indefinitely if the server had an internal error
If the server had an internal error and returned 500, there's nothing
to read, so "response.read()" blocks indefinitely. Only output the
response if there's really a response.
convert: fix crash when existing converted revision didn't come from source
This case can happen when converting from multiple repositories with filemap.
rebase: preserve metadata from grafts of changes (
issue4001)