branch | stable |
changeset 24877 | cc497780eaf9 |
parent 24876 | b5513ee85dd8 |
child 24924 | 41cd8171e58f |
--- a/mercurial/subrepo.py Mon Apr 27 21:34:23 2015 -0400 +++ b/mercurial/subrepo.py Tue Feb 03 15:01:43 2015 -0500 @@ -569,6 +569,11 @@ root = r.wjoin(path) create = not r.wvfs.exists('%s/.hg' % path) self._repo = hg.repository(r.baseui, root, create=create) + + # Propagate the parent's --hidden option + if r is r.unfiltered(): + self._repo = self._repo.unfiltered() + self.ui = self._repo.ui for s, k in [('ui', 'commitsubrepos')]: v = r.ui.config(s, k)