Submitter | Katsunori FUJIWARA |
---|---|
Date | July 9, 2015, 4:03 p.m. |
Message ID | <2de1993548dae3768341.1436457781@juju> |
Download | mbox | patch |
Permalink | /patch/9942/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -313,7 +313,7 @@ def _sanitize(ui, vfs, ignore): if d.lower() == ignore: del dirs[i] break - if os.path.basename(dirname).lower() != '.hg': + if vfs.basename(dirname).lower() != '.hg': continue for f in names: if f.lower() == 'hgrc':