<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Matt Mackall wrote:
<blockquote cite="mid20050808193108.GG31167@waste.org" type="cite">
<pre wrap="">On Mon, Aug 08, 2005 at 09:19:22PM +0200, Vadim Lebedev wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello....
I'm getting following when trying hg push and interrupting it after a
mionute of inactivity
pushing to ssh://ada//usr/local/reposit/eXosip.hg
interrupted!
remote: bash: line 1: lock: command not found
remote: Killed by signal 2.
</pre>
</blockquote>
<pre wrap=""><!---->
Very odd. We send a "lock" command to the remote hg and it's getting
picked up by the shell somehow. The remote hg seems to be bailing out
or failing to execute.
</pre>
</blockquote>
Ok, thanks for the tip, i've sorted this out....<br>
i had a newgrp command in my .bashrc which created a fork bomb for some
reason...<br>
<br>
Actually maybe this is something we should think about...<br>
<br>
In my setup we have several developpers working with the centralized
repo at <br>
machine ada: The repo is: /usr/local/reposit/eXosip.hg as you could
guess.<br>
<br>
Were using Mandrake 10.x linux... some of the developpers are using
ada machine as their developement machine and have cloned eXosip.hg in
their home dir....<br>
<br>
<br>
The problem that in order to be able to do hg push the pushing user
must have write access to the shared repo so i've created a user group
called develop and added all devloppers to that group and of coarse
established write changed group ownership of the shared repo to this
group<br>
<br>
But (at least on Mandrake) when you create a new user it is
automatically added to newly created group which has the same name as
the user and even if later user is added to another group the
default login group is the original one.... Hence my hack with
newgrp develop in my .bashrc file...<br>
(thinking some more about it i've should be adding this to
.bash_profile maybe)<br>
<br>
<br>
It seems that the only way to have this stuff working correctly is to
change default login group for<br>
all people who are pushing to the central repo, which is a PITA....<br>
<br>
Any ideas?<br>
<br>
<br>
<br>
<br>
</body>
</html>