# HG changeset patch # User Benoit Boissinot # Date 2008-09-02 15:32:07 # Node ID 8c136043867b6e40ec285f65d6fb7051ce185d31 # Parent 63d1d3e489f88bea65b3e90404f678d73b6575dc dirstate: explain why appending instead of os.path.join() is safe diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -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):