Show More
@@ -431,7 +431,8 b' def has_p4():' | |||||
431 |
|
431 | |||
432 | @check("symlink", "symbolic links") |
|
432 | @check("symlink", "symbolic links") | |
433 | def has_symlink(): |
|
433 | def has_symlink(): | |
434 | if getattr(os, "symlink", None) is None: |
|
434 | # mercurial.windows.checklink() is a hard 'no' at the moment | |
|
435 | if os.name == 'nt' or getattr(os, "symlink", None) is None: | |||
435 | return False |
|
436 | return False | |
436 | name = tempfile.mktemp(dir='.', prefix=tempprefix) |
|
437 | name = tempfile.mktemp(dir='.', prefix=tempprefix) | |
437 | try: |
|
438 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now