sapling/tests/test-mkdir-broken-symlink.t
Jun Wu 18317cc4b5 posix: improve error message about broken symlinks
Summary:
Improve `makedirs` error message so it would be more helpful when there are
broken symlinks.

Differential Revision: D8108794

fbshipit-source-id: 08013022642efde946ef9d5c6b06b4763f4ad68f
2018-05-23 06:12:45 -07:00

8 lines
214 B
Perl

#require symlink
$ mkdir -p a
$ ln -s a/b a/c
$ hg debugshell -c 'm.util.makedirs("a/c/e/f")'
abort: Symlink '$TESTTMP/a/c' points to non-existed destination 'a/b' during makedir: '$TESTTMP/a/c/e'
[255]