Mercurial push locks

Emile Snyder emile.snyder at gmail.com
Sun Sep 28 14:08:00 UTC 2014


On Sat, Sep 27, 2014 at 2:14 PM, Simon King <simon at simonking.org.uk> wrote:
...
> The hook then uses sudo to run the second push as the user “svnuser”, and it calls a program called “hg-svnuser”. This raises a couple more questions:
>
> 1. Do all users have the same sudo privileges? Perhaps the blocking happens because sudo is trying to prompt for a password in some cases?

Could make it 'sudo -n ...' to force the sudo to fail rather than
prompt if it was going to.

Maybe try 'strace -o hg-trace -ff hg push' to get more details about
what exactly is going on when interrupting?

-emile



More information about the Mercurial mailing list