[Bug 5611] New: creating a symbolic link to a file renders Hg unusable

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed Jun 28 11:03:14 UTC 2017


https://bz.mercurial-scm.org/show_bug.cgi?id=5611

            Bug ID: 5611
           Summary: creating a symbolic link to a file renders Hg unusable
           Product: Mercurial
           Version: 4.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: christian.schyma at festo.com
                CC: mercurial-devel at mercurial-scm.org

The below error message appears and no further commands (like add oder commit)
are working.

Steps to reproduce
------------------

$ touch readme.txt
$ mkdir testrepo
$ cd testrepo
$ hg init
$ hg status
$ mklink /d readme.txt ..\readme.txt
symbolic link created for readme.txt <<===>> ..\readme.txt
$ hg status
abort: The directory name is invalid:
'c:\workspace\spielwiese\win_symlinks\testrepo\readme.txt'

Environment
-----------

hg --version
Mercurial Distributed SCM (version 4.1.3)

Windows 10

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list