Commit d7cd877
committed
bug #756 Fix copy from package with directories (mnocon)
This PR was squashed before being merged into the 1.12-dev branch.
Discussion
----------
Fix copy from package with directories
Potential fix for #755
I've:
1) added a test that uncovers the issue - even when `force` is used the existing files are not overwritten
2) added a test that makes sure the behaviour does not change when force is not used
3) fixed the issue by respecting the `force` option in `copyDir` method.
Commits
-------
6adab40 Fix copy from package with directoriesFile tree
2 files changed
+49
-2
lines changed- src/Configurator
- tests/Configurator
2 files changed
+49
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
88 | | - | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
Lines changed: 46 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
58 | 102 | | |
59 | 103 | | |
60 | 104 | | |
| |||
74 | 118 | | |
75 | 119 | | |
76 | 120 | | |
| 121 | + | |
77 | 122 | | |
78 | 123 | | |
79 | 124 | | |
| |||
106 | 151 | | |
107 | 152 | | |
108 | 153 | | |
109 | | - | |
| 154 | + | |
110 | 155 | | |
111 | 156 | | |
112 | 157 | | |
| |||
0 commit comments