Commit 38e239b
goto: swap redacted content for human readable message
Summary:
When checking out files, if the content matches the redacted tombstone, swap the contents to a human readable message. This logic was missing from the Rust checkout.
I considered adding this logic deeper in the scmstore FileStore object, but I didn't like that since it would make it hard for us to see the "real" content served by the server. Only performing the substitution for the working copy manifestation of the contents seems better.
Reviewed By: quark-zju, andreacampi
Differential Revision: D67958797
fbshipit-source-id: 73d6cddcee53530e562b5df543584a4f0f85fab01 parent 96031b4 commit 38e239b
File tree
3 files changed
+6
-2
lines changed- eden
- mononoke/tests/integration
- scm/lib/checkout
- src
3 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | 147 | | |
149 | | - | |
| 148 | + | |
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
355 | 356 | | |
356 | 357 | | |
357 | 358 | | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
358 | 362 | | |
359 | 363 | | |
360 | 364 | | |
| |||
0 commit comments