Ah, restored altered dirname code to Monotone's root method.
authorW. Trevor King <wking@drexel.edu>
Sun, 27 Jun 2010 14:47:11 +0000 (10:47 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 27 Jun 2010 14:47:11 +0000 (10:47 -0400)
commitd661ec949cd97def3e33af1db98bd33ceb0e1acc
tree081ffdc7e54c0e41d23a4e1d900e56ff5e884a6d
parent4ffb44509a92d8c7ea3d262923d598e86e501da0
Ah, restored altered dirname code to Monotone's root method.

The previous implementation used
  cwd=path
which would fail for non-directory paths.

The implementation before that was missing the not from
  if not os.path.isdir(path):
      dirname = os.path.dirname(path)
which meant it found the dirname when it didn't need to, and not when
it did ;).
libbe/storage/vcs/monotone.py