Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Style |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | roy-export |
Files: | files | file ages | folders |
SHA1: |
8e7079731eea4ba4fba971bcda368216 |
User & Date: | roy.marples 2017-02-10 13:03:27.783 |
Context
2017-02-10
| ||
20:28 | Add --rename-trunk option to export instead of forcing a naming convention. ... (check-in: bc443729 user: roy.marples tags: roy-export) | |
13:03 | Style ... (check-in: 8e707973 user: roy.marples tags: roy-export) | |
01:44 | When importing a git fast-import, we silently change master branch to trunk to match the default fossil naming conventions. So when we export to the git fast-import format, we should silently change the trunk branch back into master to match the git naming conventions. ... (check-in: 01231dcb user: roy.marples tags: roy-export) | |
Changes
Changes to src/export.c.
︙ | ︙ | |||
610 611 612 613 614 615 616 | char *zMark; bag_insert(&vers, ckinId); db_bind_int(&q2, ":rid", ckinId); db_step(&q2); db_reset(&q2); /* fossil trunk is git master. */ | | | 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 | char *zMark; bag_insert(&vers, ckinId); db_bind_int(&q2, ":rid", ckinId); db_step(&q2); db_reset(&q2); /* fossil trunk is git master. */ if( zBranch==0 || fossil_strcmp(zBranch, "trunk")==0 ) zBranch = "master"; zMark = mark_name_from_rid(ckinId, &unused_mark); printf("commit refs/heads/"); print_ref(zBranch); printf("\nmark %s\n", zMark); free(zMark); printf("committer"); print_person(zUser); |
︙ | ︙ |