Fossil SCM
The branch names should start with "refs/heads" (with an "s" at the end), not just "refs/head".
Commit
d74371680d0b38f63d30e7a074dd9b4c7afa70e7483608c6179b1bb4ac180cb8
Parent
2487f505cd3bf30…
1 file changed
+1
-1
+1
-1
| --- src/export.c | ||
| +++ src/export.c | ||
| @@ -1055,11 +1055,11 @@ | ||
| 1055 | 1055 | }else{ |
| 1056 | 1056 | mirror_sanitize_git_name(zBranch); |
| 1057 | 1057 | } |
| 1058 | 1058 | |
| 1059 | 1059 | /* Export the check-in */ |
| 1060 | - fprintf(xCmd, "commit refs/head/%s\n", zBranch); | |
| 1060 | + fprintf(xCmd, "commit refs/heads/%s\n", zBranch); | |
| 1061 | 1061 | fossil_free(zBranch); |
| 1062 | 1062 | iMark = mirror_find_mark(zUuid, 1); |
| 1063 | 1063 | fprintf(xCmd, "mark :%d\n", iMark); |
| 1064 | 1064 | fprintf(xCmd, "committer %s <%[email protected]> %lld +0000\n", |
| 1065 | 1065 | pMan->zUser, pMan->zUser, |
| 1066 | 1066 |
| --- src/export.c | |
| +++ src/export.c | |
| @@ -1055,11 +1055,11 @@ | |
| 1055 | }else{ |
| 1056 | mirror_sanitize_git_name(zBranch); |
| 1057 | } |
| 1058 | |
| 1059 | /* Export the check-in */ |
| 1060 | fprintf(xCmd, "commit refs/head/%s\n", zBranch); |
| 1061 | fossil_free(zBranch); |
| 1062 | iMark = mirror_find_mark(zUuid, 1); |
| 1063 | fprintf(xCmd, "mark :%d\n", iMark); |
| 1064 | fprintf(xCmd, "committer %s <%[email protected]> %lld +0000\n", |
| 1065 | pMan->zUser, pMan->zUser, |
| 1066 |
| --- src/export.c | |
| +++ src/export.c | |
| @@ -1055,11 +1055,11 @@ | |
| 1055 | }else{ |
| 1056 | mirror_sanitize_git_name(zBranch); |
| 1057 | } |
| 1058 | |
| 1059 | /* Export the check-in */ |
| 1060 | fprintf(xCmd, "commit refs/heads/%s\n", zBranch); |
| 1061 | fossil_free(zBranch); |
| 1062 | iMark = mirror_find_mark(zUuid, 1); |
| 1063 | fprintf(xCmd, "mark :%d\n", iMark); |
| 1064 | fprintf(xCmd, "committer %s <%[email protected]> %lld +0000\n", |
| 1065 | pMan->zUser, pMan->zUser, |
| 1066 |