comparison tests/test-symlink-os-yes-fs-no.py @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 493034cc3265
children ca7bde5dbafb
comparison
equal deleted inserted replaced
51699:bd1483fd7088 51700:7f0cb9ee0534
27 commands.unbundle(u, repo, pycompat.fsencode(BUNDLEPATH), update=True) 27 commands.unbundle(u, repo, pycompat.fsencode(BUNDLEPATH), update=True)
28 28
29 # wait a bit, or the status call wont update the dirstate 29 # wait a bit, or the status call wont update the dirstate
30 time.sleep(1) 30 time.sleep(1)
31 commands.status(u, repo) 31 commands.status(u, repo)
32
33 32
34 # now disable symlink support -- this is what os.symlink would do on a 33 # now disable symlink support -- this is what os.symlink would do on a
35 # non-symlink file system 34 # non-symlink file system
36 def symlink_failure(src, dst): 35 def symlink_failure(src, dst):
37 raise OSError(1, "Operation not permitted") 36 raise OSError(1, "Operation not permitted")