dirstate: explain why appending instead of os.path.join() is safe

This commit is contained in:
Benoit Boissinot 2008-09-02 17:32:07 +02:00
parent fe44f90406
commit 882dcf0454

View File

@ -101,6 +101,7 @@ class dirstate(object):
def _join(self, f):
# much faster than os.path.join()
# it's safe because f is always a relative path
return self._rootdir + f
def flagfunc(self, fallback):