Mercurial allows versioning symlinks in a repository. On unix they are created as symlinks on checkout while on windows symlinks are not supported.
Instead Mercurial apparently creates a "special" text-file for each symlink with its content being the target of the symlink. By modifying the content of this text file on a windows machine, one can change the target of the "symlink". (See this SO answer.)
Is it similarly possible to create a new symlink in a Mercurial repository on a Windows machine?
I imagine this would involve creating the "special text" file and then somehow telling mercurial to treat it as a symlink. Possibly with a workaround similar to this workaround for setting the executable bit.