Show More
@@ -682,7 +682,7 b' def checklink(path):' | |||||
682 | """check whether the given path is on a symlink-capable filesystem""" |
|
682 | """check whether the given path is on a symlink-capable filesystem""" | |
683 | # mktemp is not racy because symlink creation will fail if the |
|
683 | # mktemp is not racy because symlink creation will fail if the | |
684 | # file already exists |
|
684 | # file already exists | |
685 | name = tempfile.mktemp(dir=path) |
|
685 | name = tempfile.mktemp(dir=path, prefix='hg-checklink-') | |
686 | try: |
|
686 | try: | |
687 | os.symlink(".", name) |
|
687 | os.symlink(".", name) | |
688 | os.unlink(name) |
|
688 | os.unlink(name) |
General Comments 0
You need to be logged in to leave comments.
Login now