Added root directory handling to VCS._u_rel_path().
authorW. Trevor King <wking@drexel.edu>
Tue, 29 Dec 2009 14:46:59 +0000 (09:46 -0500)
committerW. Trevor King <wking@drexel.edu>
Tue, 29 Dec 2009 14:46:59 +0000 (09:46 -0500)
commit6dafff3ad4a88d8af7b1cd4837b90179ac34a1e3
treed01e5addbce342550d5dc2f509aa421080694c72
parent8bf8e2271f8273bdba3f8327d08b505a0fae11d5
Added root directory handling to VCS._u_rel_path().

Now it returns '.' when you ask for the relative path from root to
itself.  It used to raise AssertionError or InvalidPath.
libbe/storage/vcs/base.py