Commit c5910b4
committed
Fix change of repo name after full import
If a repository is imported successfully but import_full() does not
actually return any changesets, the temp repo created for the import
remains with its `Import <timestamp>` name instead of being renamed to
the original repo's name, and the latter is deleted.
Setting the temp repo's name right after the initial save operation
prevents this unwanted behavior.
Fixes #2451 parent 3cf36d0 commit c5910b4
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | | - | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | | - | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
0 commit comments