02-mercurial remove .Hg/wlock from terminal

"waiting for lock on working directory of /Users/johndoe/Desktop/academy.2012 held by 'MacBook-Pro-de-JOHN.local:16782"
If your Terminal window is showing this message it means that you have to remove the .Hg/wlock file.
00-Raw Terminal window
MacBook-Pro-de-JOHN:academy.2012 johndoe$ hg merge
waiting for lock on working directory of /Users/johndoe/Desktop/academy.2012 held by 'MacBook-Pro-de-JOHN.local:16782'
abort: working directory of /Users/johndoe/Desktop/academy.2012: timed out waiting for lock held by MacBook-Pro-de-JOHN.local:16782
MacBook-Pro-de-JOHN:academy.2012 johndoe$ find .Hg -name \*lock\* -print
.Hg/store/data/_web/students/_bedada._ayele/output devices/clock-new.dxf.i
.Hg/store/data/_web/students/_bedada._ayele/output devices/clock._j_p_g.i
.Hg/store/data/_web/students/delgado.roberto/archivos__p18/_software block diagram._j_p_g.i
.Hg/store/data/_web/students/duarte.blanca/wp-content/themes/themia-lite/images/blockqoute.png.i
.Hg/store/data/_web/students/forgham-bailey.david/images/block.png.i
.Hg/store/data/_web/students/hopman.thomas/~2e~7elock._untitled 1.html#.i
.Hg/store/data/_web/students/lubsen.astrid/waxblock.jpg.i
.Hg/store/data/_web/students/meyuhas.ohad/wp-content/themes/briefed/images/blockquote.png.i
.Hg/store/data/_web/students/meyuhas.ohad/wp-content 02.02.51/themes/briefed/images/blockquote.png.i
.Hg/store/data/_web/students/okeefe.john/images/week16/printed__sliding__blocks.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/printed__sliding__blocks.jpg.i
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__block__rod__belt__assembly.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__block__rod__belt__assembly.jpg.i
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__blocks__and__xy__assembly.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__blocks__and__xy__assembly.jpg.i
.Hg/store/data/_web/students/okeefe.john/images/week16/ultimaker__sliding__blocks.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/ultimaker__sliding__blocks.jpg.i
.Hg/store/data/_web/students/rae.joel/week20/images/system__blockchart.png.i
.Hg/store/data/_web/students/young.matthew/images/clockdesign.jpg.d
.Hg/store/data/_web/students/young.matthew/images/clockdesign.jpg.i
.Hg/store/data/_web/students/young.matthew/images/clockdesignpart2.jpg.d
.Hg/store/data/_web/students/young.matthew/images/clockdesignpart2.jpg.i
.Hg/store/dh/web/students/di_vozzo/fab_acad/fab_academy_retouches_pour_shopbot_locked-cobc4eeaafc4cec99763a5f6c2eedd22224c9dfd59.i
.Hg/wlock
MacBook-Pro-de-JOHN:academy.2012 johndoe$ rm .Hg/wlock
MacBook-Pro-de-JOHN:academy.2012 johndoe$ hg add
MacBook-Pro-de-JOHN:academy.2012 johndoe$ hg pull
remote: key_read: uudecode AAAAB3NzaC1yc2EAAAABIwAAAQEAq/DocGaGRNYDD6MJcaJT1jCs3uYl$
remote:  failed
remote: key_read: uudecode AAAAB3NzaC1yc2EAAAABIwAAAQEAq/DocGaGRNYDD6MJcaJT1jCs3uYl$
remote:  failed
pulling from ssh://hg@fab.cba.mit.edu/academy.2012
searching for changes
no changes found
01-Highlighted Terminal window
MacBook-Pro-de-JOHN:academy.2012 johndoe$ hg merge
waiting for lock on working directory of /Users/johndoe/Desktop/academy.2012 held by 'MacBook-Pro-de-JOHN.local:16782'
abort: working directory of /Users/johndoe/Desktop/academy.2012: timed out waiting for lock held by MacBook-Pro-de-JOHN.local:16782
MacBook-Pro-de-JOHN:academy.2012 johndoe$ find .Hg -name \*lock\* -print
.Hg/store/data/_web/students/_bedada._ayele/output devices/clock-new.dxf.i
.Hg/store/data/_web/students/_bedada._ayele/output devices/clock._j_p_g.i
.Hg/store/data/_web/students/delgado.roberto/archivos__p18/_software block diagram._j_p_g.i
.Hg/store/data/_web/students/duarte.blanca/wp-content/themes/themia-lite/images/blockqoute.png.i
.Hg/store/data/_web/students/forgham-bailey.david/images/block.png.i
.Hg/store/data/_web/students/hopman.thomas/~2e~7elock._untitled 1.html#.i
.Hg/store/data/_web/students/lubsen.astrid/waxblock.jpg.i
.Hg/store/data/_web/students/meyuhas.ohad/wp-content/themes/briefed/images/blockquote.png.i
.Hg/store/data/_web/students/meyuhas.ohad/wp-content 02.02.51/themes/briefed/images/blockquote.png.i
.Hg/store/data/_web/students/okeefe.john/images/week16/printed__sliding__blocks.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/printed__sliding__blocks.jpg.i
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__block__rod__belt__assembly.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__block__rod__belt__assembly.jpg.i
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__blocks__and__xy__assembly.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__blocks__and__xy__assembly.jpg.i
.Hg/store/data/_web/students/okeefe.john/images/week16/ultimaker__sliding__blocks.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/ultimaker__sliding__blocks.jpg.i
.Hg/store/data/_web/students/rae.joel/week20/images/system__blockchart.png.i
.Hg/store/data/_web/students/young.matthew/images/clockdesign.jpg.d
.Hg/store/data/_web/students/young.matthew/images/clockdesign.jpg.i
.Hg/store/data/_web/students/young.matthew/images/clockdesignpart2.jpg.d
.Hg/store/data/_web/students/young.matthew/images/clockdesignpart2.jpg.i
.Hg/store/dh/web/students/di_vozzo/fab_acad/fab_academy_retouches_pour_shopbot_locked-cobc4eeaafc4cec99763a5f6c2eedd22224c9dfd59.i
.Hg/wlock
MacBook-Pro-de-JOHN:academy.2012 johndoe$ rm .Hg/wlock
MacBook-Pro-de-JOHN:academy.2012 johndoe$ hg add
MacBook-Pro-de-JOHN:academy.2012 johndoe$ hg pull
remote: key_read: uudecode AAAAB3NzaC1yc2EAAAABIwAAAQEAq/DocGaGRNYDD6MJcaJT1jCs3uYl$
remote:  failed
remote: key_read: uudecode AAAAB3NzaC1yc2EAAAABIwAAAQEAq/DocGaGRNYDD6MJcaJT1jCs3uYl$
remote:  failed
pulling from ssh://hg@fab.cba.mit.edu/academy.2012
searching for changes
no changes found
02-Commented Terminal window
MacBook-Pro-de-JOHN:academy.2012 johndoe$ hg merge
/* Here, I tried to merge files on a server called academy.2012.
waiting for lock on working directory of /Users/johndoe/Desktop/academy.2012 held by 'MacBook-Pro-de-JOHN.local:16782'
/* This error message stopped any merging I wanted to make.
abort: working directory of /Users/johndoe/Desktop/academy.2012: timed out waiting for lock held by MacBook-Pro-de-JOHN.local:16782
/* My merging attempt aborted because of a file named ".Hg/wlock".
MacBook-Pro-de-JOHN:academy.2012 johndoe$ find .Hg -name \*lock\* -print
/* I asked Terminal for a list of files with ".Hg" and "lock" in their names.
.Hg/store/data/_web/students/_bedada._ayele/output devices/clock-new.dxf.i
.Hg/store/data/_web/students/_bedada._ayele/output devices/clock._j_p_g.i
.Hg/store/data/_web/students/delgado.roberto/archivos__p18/_software block diagram._j_p_g.i
.Hg/store/data/_web/students/duarte.blanca/wp-content/themes/themia-lite/images/blockqoute.png.i
.Hg/store/data/_web/students/forgham-bailey.david/images/block.png.i
.Hg/store/data/_web/students/hopman.thomas/~2e~7elock._untitled 1.html#.i
.Hg/store/data/_web/students/lubsen.astrid/waxblock.jpg.i
.Hg/store/data/_web/students/meyuhas.ohad/wp-content/themes/briefed/images/blockquote.png.i
.Hg/store/data/_web/students/meyuhas.ohad/wp-content 02.02.51/themes/briefed/images/blockquote.png.i
.Hg/store/data/_web/students/okeefe.john/images/week16/printed__sliding__blocks.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/printed__sliding__blocks.jpg.i
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__block__rod__belt__assembly.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__block__rod__belt__assembly.jpg.i
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__blocks__and__xy__assembly.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/sliding__blocks__and__xy__assembly.jpg.i
.Hg/store/data/_web/students/okeefe.john/images/week16/ultimaker__sliding__blocks.jpg.d
.Hg/store/data/_web/students/okeefe.john/images/week16/ultimaker__sliding__blocks.jpg.i
.Hg/store/data/_web/students/rae.joel/week20/images/system__blockchart.png.i
.Hg/store/data/_web/students/young.matthew/images/clockdesign.jpg.d
.Hg/store/data/_web/students/young.matthew/images/clockdesign.jpg.i
.Hg/store/data/_web/students/young.matthew/images/clockdesignpart2.jpg.d
.Hg/store/data/_web/students/young.matthew/images/clockdesignpart2.jpg.i
.Hg/store/dh/web/students/di_vozzo/fab_acad/fab_academy_retouches_pour_shopbot_locked-cobc4eeaafc4cec99763a5f6c2eedd22224c9dfd59.i
.Hg/wlock
/*.Hg/wlock appeared on the list so that I could locate it to remove it. 
MacBook-Pro-de-JOHN:academy.2012 johndoe$ rm .Hg/wlock
/*"rm" means "remove". I asked to remove ".Hg/wlock" from the list.
MacBook-Pro-de-JOHN:academy.2012 johndoe$ hg add
/*Then I started to add, and the "waiting for lock on working…" didn't show up.
MacBook-Pro-de-JOHN:academy.2012 johndoe$ hg pull
/* I tried a pull, and it also worked.
remote: key_read: uudecode AAAAB3NzaC1yc2EAAAABIwAAAQEAq/DocGaGRNYDD6MJcaJT1jCs3uYl$
remote:  failed
remote: key_read: uudecode AAAAB3NzaC1yc2EAAAABIwAAAQEAq/DocGaGRNYDD6MJcaJT1jCs3uYl$
remote:  failed
pulling from ssh://hg@fab.cba.mit.edu/academy.2012
searching for changes
no changes found
THAT'IT!!
03-List of commands
00-hg merge
01-find .Hg -name \*lock\* -print
02-rm .Hg/wlock
03-hg add
04-hg pull