Bug in hook ?
Matt Mackall
mpm at selenic.com
Wed Jan 4 08:59:23 UTC 2012
On Wed, 2012-01-04 at 08:42 +0000, Gaunet Sylvain (ASTEK) wrote:
> Hello and happy new year ;)
>
> I used a precommit hook in order to verify the comment and some others things before committing. My script works fine since 1.X version of mercurial. I'm testing the 2.0.1 and now I've always got this error :
> waiting for lock on working directory of /local/projet/TESTS/TEST/ctrl held by 'vancouver:29268'
How about you:
a) show us your hook script
b) tell us which process is 29268 on vancouver
> I've searched and I've no problem of permission. If I change the version of Mercurial, it works fine. But I can't with the 2.0.1.
>
> Take a look (I set up "set -x" in my bash script) :
>
> gaunets at vancouver:/local/projet/TESTS/TEST/ctrl$ hg version
> Mercurial Distributed SCM (version 2.0.1)
> (see http://mercurial.selenic.com for more information)
>
> Copyright (C) 2005-2011 Matt Mackall and others
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> gaunets at vancouver:/local/projet/TESTS/TEST/ctrl$ hg status
> A TEST/c
> gaunets at vancouver:/local/projet/TESTS/TEST/ctrl$ hg commit -A -m "Test totale"
> ...
> ++ hg status -d
> ++ wc -l
> waiting for lock on working directory of /local/projet/TESTS/TEST/ctrl held by 'vancouver:29322'
> ^Ctransaction abort!
> interrompu !
>
>
> Now with an old version :
> gaunets at vancouver:/local/projet/TESTS/TEST/ctrl$ hg version
> *** failed to import extension largefiles: No module named largefiles
> Mercurial Distributed SCM (version 1.9.1)
> (see http://mercurial.selenic.com for more information)
>
> Copyright (C) 2005-2011 Matt Mackall and others
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> gaunets at vancouver:/local/projet/TESTS/TEST/ctrl$ hg status
> *** failed to import extension largefiles: No module named largefiles
> A TEST/c
> gaunets at vancouver:/local/projet/TESTS/TEST/ctrl$ hg commit -A -m "Test totale"
> *** failed to import extension largefiles: No module named largefiles
> gaunets at vancouver:/local/projet/TESTS/TEST/ctrl$
>
>
> And if I desactivate the largefiles extension and use the 2.0.1 version of mercurial, it works fine. Is it normal ?
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list