Commit a2ba900
committed
Solve the url change problem in
Because for now `pygit2` fetch didn't support `file://` format on
Windows, we removed this prefix. But didn't add it back after the
fetch operation finished, and it makes the following `dulwich`
backend goes wrong.
So here in the PR, we always create a new remote and delete it
after the operation to make the remote config unchanged after the
operation.pygit2 fetch_refspec1 parent 3d8c97c commit a2ba900
1 file changed
+14
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
| 457 | + | |
457 | 458 | | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
| 459 | + | |
463 | 460 | | |
464 | 461 | | |
465 | 462 | | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
466 | 474 | | |
467 | 475 | | |
468 | 476 | | |
| |||
478 | 486 | | |
479 | 487 | | |
480 | 488 | | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
| |||
0 commit comments