It's not uncommon for hg qpop (or even hg update) to remove the current working directory. In that case, hg should be user-friendly and inform the user that the cwd has been removed. Right now, hg just displays "abort: No such file or directory" whenever you try and do anything.
update can also remove directories. But so can other commands and other processes, so I don't think it is Mercurials job to warn in this case. But hg could probably be more helpful when it is run from a removed directory.
> update can also remove directories. But so can other commands and other > processes, so I don't think it is Mercurials job to warn in this case. I don't see how this follows. When update or qpop or whatever removes the cwd, hg knows right then that the cwd is gone. Why shouldn't it print a warning? > But hg could probably be more helpful when it is run from a removed directory. Certainly.
Fixed by http://hg.intevation.org/mercurial/crew/rev/f92f8921a5cc Mads Kiilerich <mads@kiilerich.com> dispatch: give better error message when cwd doesn't exist (issue2293)
--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:11 EDT --- This bug was previously known as _bug_ 2293 at http://mercurial.selenic.com/bts/issue2293