Ken Bloom wrote:
> -j is a great feature, but running the command
> $ EDITOR=vim mr -j 10 commit
> causes mr to hang waiting for vim to terminate (on repositories that
> had changes), because mr consumes the I/O from the editor, preventing
> one from entering a commit message. If I use
> $ EDITOR="gvim -f" mr -j 10 commit
> then the editor appears on X11, but I need to enter a non-empty commit
> message, otherwise svn will hang waiting for input when asking 
>    Log message unchanged or not specified
>    a)bort, c)ontinue, e)dit
> 
> I'm not sure of an appropriate fix, but it seems that interactive
> commands are incompatible with -j.

Yes, that's why the man page says "It is not recommended for
interactive operations."

I am considering making -j close stdin, this might at least make editors
and such immediately fail rather than all trying to read from the same
stdin.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to