Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hg.py @ 13795:43b5fe18ea6c
set NOT_CONTENT_INDEXED on .hg dir (issue2694)
when running on Windows
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Mon, 28 Mar 2011 15:54:22 +0200 |
parents | 7abab875e647 |
children | ad179644750f |
line wrap: on
line diff
--- a/mercurial/hg.py Tue Mar 29 16:25:48 2011 +0200 +++ b/mercurial/hg.py Mon Mar 28 15:54:22 2011 +0200 @@ -143,7 +143,7 @@ if not os.path.isdir(root): os.mkdir(root) - os.mkdir(roothg) + util.makedir(roothg, notindexed=True) requirements = '' try: @@ -281,7 +281,7 @@ dir_cleanup.dir_ = hgdir try: dest_path = hgdir - os.mkdir(dest_path) + util.makedir(dest_path, notindexed=True) except OSError, inst: if inst.errno == errno.EEXIST: dir_cleanup.close()