mirror of
https://github.com/facebook/sapling.git
synced 2024-10-16 19:57:18 +03:00
18317cc4b5
Summary: Improve `makedirs` error message so it would be more helpful when there are broken symlinks. Differential Revision: D8108794 fbshipit-source-id: 08013022642efde946ef9d5c6b06b4763f4ad68f
8 lines
214 B
Perl
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]
|