Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dirstate.py @ 4081:e6d26e71f049
merge with crew-stable
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 13 Feb 2007 10:25:45 -0200 |
parents | dda03b2d9ef1 31a679ae7eef |
children | e287d61dd268 |
line wrap: on
line diff
--- a/mercurial/dirstate.py Tue Jan 02 21:40:20 2007 -0800 +++ b/mercurial/dirstate.py Tue Feb 13 10:25:45 2007 -0200 @@ -389,7 +389,7 @@ # self.root may end with a path separator when self.root == '/' common_prefix_len = len(self.root) - if not self.root.endswith('/'): + if not self.root.endswith(os.sep): common_prefix_len += 1 # recursion free walker, faster than os.walk. def findfiles(s):