changeset 37270 | 6ff8bd691fb8 |
parent 36097 | 66b4ffe90676 |
child 37372 | 1b2fa531fd7a |
--- a/hgext/narrow/narrowrevlog.py Sat Mar 31 23:49:58 2018 +0530 +++ b/hgext/narrow/narrowrevlog.py Mon Apr 02 23:52:43 2018 -0700 @@ -117,8 +117,6 @@ # at least some push operations. This will be used to wrap/exclude the # child directories when using treemanifests. def dirlog(self, d): - if d and not d.endswith('/'): - d = d + '/' if not repo.narrowmatch().visitdir(d[:-1] or '.'): return excludedmanifestrevlog(d) result = super(narrowmanifestrevlog, self).dirlog(d)