Show More
@@ -303,10 +303,10 b' class MercurialCommit(base.BaseCommit):' | |||
|
303 | 303 | |
|
304 | 304 | alias = self.repository.alias |
|
305 | 305 | for k, vals in self._submodules.iteritems(): |
|
306 | loc = vals[0] | |
|
307 |
c |
|
|
308 | dirnodes.append( | |
|
309 | SubModuleNode(k, url=loc, commit=commit, alias=alias)) | |
|
306 | if vcspath.dirname(k) == path: | |
|
307 | loc = vals[0] | |
|
308 | commit = vals[1] | |
|
309 | dirnodes.append(SubModuleNode(k, url=loc, commit=commit, alias=alias)) | |
|
310 | 310 | nodes = dirnodes + filenodes |
|
311 | 311 | # cache nodes |
|
312 | 312 | for node in nodes: |
General Comments 0
You need to be logged in to leave comments.
Login now