##// END OF EJS Templates
mercurial-submodules: only show submodule in the path that it belongs too....
ergo -
r3471:95e71a57 default
parent child Browse files
Show More
@@ -303,10 +303,10 b' class MercurialCommit(base.BaseCommit):'
303
303
304 alias = self.repository.alias
304 alias = self.repository.alias
305 for k, vals in self._submodules.iteritems():
305 for k, vals in self._submodules.iteritems():
306 loc = vals[0]
306 if vcspath.dirname(k) == path:
307 commit = vals[1]
307 loc = vals[0]
308 dirnodes.append(
308 commit = vals[1]
309 SubModuleNode(k, url=loc, commit=commit, alias=alias))
309 dirnodes.append(SubModuleNode(k, url=loc, commit=commit, alias=alias))
310 nodes = dirnodes + filenodes
310 nodes = dirnodes + filenodes
311 # cache nodes
311 # cache nodes
312 for node in nodes:
312 for node in nodes:
General Comments 0
You need to be logged in to leave comments. Login now