mq: fix queue.apply to not call os.chdir()
call to os.chdir broke "hg -R dirname qpush".
instead pass -d (change directory) option to patch command.
#header#<title>Mercurial repositories index</title></head><body><h2>Mercurial Repositories</h2>The specified repository "#repo|escape#" is unknown, sorry.Please go back to the main repository list page.#footer#