Commit c922b44
graft: skip ungraftable subtree copy and merge revisions
Summary:
Grafting subtree copy (branch) and merge commits doesn't seem particularly useful,
as grafting an O(1) copy commit could turn it into an O(n) operation. This diff skips
subtree copy and merge commits, similar to how merge commits are skipped.
Reviewed By: muirdm
Differential Revision: D67902937
fbshipit-source-id: 50b11c6dfaf97ec62d3de7fc96adab8641988b6f1 parent b04c280 commit c922b44
File tree
2 files changed
+37
-0
lines changed- eden/scm
- sapling/commands
- tests
2 files changed
+37
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2598 | 2598 | | |
2599 | 2599 | | |
2600 | 2600 | | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
2601 | 2611 | | |
2602 | 2612 | | |
2603 | 2613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
0 commit comments