Fossil

History of src/export.c of 320f14363e1a37dc
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of file src/export.c at check-in 320f14363e1a37dc

2026-01-28
16:12
Fix commands supporting the --quiet option to use the global option state initialized on program startup, so that their --quiet option really works. Make -q an alias of --quiet, as documented by many commands, and fix two resulting conflicts with the short form. IMPORTANT COMPATIBILITY NOTE: For the `test-integrity' command, the -q option is changed from --quick to --quiet, and for the `ticket' command family, the -q option is changed from --quote to --quiet! file: [463d889f18] check-in: [74d5ce39ea] user: florian branch: trunk, size: 60811
2025-12-23
16:06
Assorted fixes of typos and grammar in code comments. No functional changes. file: [f8773845f6] check-in: [e2bdc10572] user: danield branch: trunk, size: 60752
2025-10-28
15:05
Cache the name of the main branch. file: [c713559442] check-in: [ca0d66b2e4] user: danield branch: trunk, size: 60754
2025-10-25
13:48
Remove some fossil_free() calls added by the previous check-in. file: [6da128f727] check-in: [6a617d004f] user: danield branch: softcoded-main-branch, size: 60758
2025-10-23
14:50
Replace hard-coded "trunk" with the value of 'main-branch' (defaulting to "trunk"). file: [76f8535327] check-in: [dd8995bbdd] user: danield branch: softcoded-main-branch, size: 60844
2025-07-23
15:58
Minor optimization: replace calls to mprintf("%s", X) with fossil_strdup(X). file: [0be1388f2c] check-in: [4c3e1728e1] user: danield branch: trunk, size: 60589
2025-07-15
08:16
Move the mark->rid assignment down one block to avoid setting it if we're not going to use it for the 'b' and 'c' mark cases. file: [1977b95a81] check-in: [c2d25c42f9] user: stephan branch: git-parse-mark-fix, size: 60676
08:13
A proposed, but also unproven, patch for the git export parse_mark() issues discussed in [forum:906c248f2f79de41 | forum thread 906c248f2f]. file: [2dc24a2b7e] check-in: [076c8def28] user: stephan branch: git-parse-mark-fix, size: 60676
2025-04-08
12:49
Ensure that ALL fopen() calls include 'b' in their modes. The git import/export fopen()s did not have this, which may (hypothetically, but unproven) lead to EOL conversion on Windows. file: [b847d7d69b] check-in: [13049ef245] user: stephan branch: fopen-mode-b, size: 60590
2025-03-13
00:43
In git-export, when the versioned manifest setting changes, be sure to delete manifest files that have become obsolete. file: [99dddcbffa] check-in: [175009a5be] user: drh branch: versioned-manifest-setting, size: 60588
2025-03-12
21:48
Here is a possible solution to the versioned "manifest" setting. Needs lots of testing. file: [34b3a53f25] check-in: [eb41a9f3c4] user: drh branch: versioned-manifest-setting, size: 60215
2025-03-01
20:31
Remove the "fossil usage" and "fossil options" command. Use instead the the --usage/-u or --options/-o options on the "fossil help" command. Other improvements and fixes to the recent "fossil help" enhancement. file: [043e54a79f] check-in: [b097e6899e] user: drh branch: trunk, size: 60338
2024-06-19
18:26
Fix a bug in git-export in which the \n at the end of manifest.uuid is omitted. file: [8844be0114] check-in: [fc8d476aca] user: drh branch: trunk, size: 60291
2024-03-29
17:41
Fix an issue with the "Autopush:" report in "fossil git export". file: [aa026dc8a0] check-in: [0298a6fc86] user: drh branch: trunk, size: 60287
2024-03-28
20:57
Fix to the "fossil git status" command as suggested by [forum:/forumpost/e15631f21e16f0b6|forum post e15631f21e16f0b6]. file: [effa1bec1b] check-in: [0028303999] user: drh branch: trunk, size: 60289
2024-02-02
22:18
Remove trailing whitespace from non-external C files. file: [798a58358b] check-in: [7db0a2d910] user: danield branch: fix-overlength-lines, size: 60180
2023-01-31
10:41
Use a faster query when checking for private artifacts. file: [487204e1f6] check-in: [25a6ba26a2] user: danield branch: git-export-omit-private, size: 60199
10:11
Do not export private artifacts to git. file: [32161cb3b1] check-in: [40abd83957] user: danield branch: git-export-omit-private, size: 60187
10:07
Small correction in the usage text for 'fossil git'. file: [754bc73613] check-in: [1aa3188e8d] user: danield branch: trunk, size: 60132
2022-12-21
09:31
Improved consistency for --help option descriptions. file: [87c6a972fd] check-in: [2e56ef4e8d] user: km branch: trunk, size: 60130
09:00
Improved consistency for --help option descriptions: begin with uppercase letter; do not use a period at the end of short-ish sentences. file: [3d3345d04f] check-in: [de684083c6] user: km branch: spelling-fixes, size: 60132
2022-12-20
09:46
Change spelling for check-in and similar file: [2b78fae2b7] check-in: [d9c4321e7a] user: danield branch: check-in-spelling, size: 60135
2022-11-13
16:26
Apply fixes to all web views to pass WCAG 2.1 tests performed by "axe DevTools" browser extension. Most fixes related to screen reader compatibility, like making sure that form elements have labels. Some color changes to improve contrast on Default skin. Made more HTML5 compliant. Minor improvement to select combo boxes for UX. Improved Search form UX. Two minor bug fixes for malformed HTML. Fixed help pages to resolve issues with non-compliant HTML being generated. Mostly documented at https://fossil-scm.org/forum/forumpost/aafb17a981df4166 file: [27ac71ada1] check-in: [1f231db380] user: ericwikman branch: wcag-2.1, size: 60112
2022-03-30
15:08
Add "--describe" flag to the "version" command to provide context to the most recent major commit tagged with "version*". Run "touch manifest.descr" in the repo root prior to the first build, then build it a second time to get it bootstrapped. file: [0572f32768] check-in: [4329553d51] user: danield branch: version-cmd-describe, size: 60542
2021-12-21
18:22
For "fossil git export", add the comment line at the end of automatically generated "manifest" files so that they do not appear to be valid Fossil artifacts. file: [901a7a0f7d] check-in: [4ff45df429] user: drh branch: trunk, size: 60133
15:18
Fix the "pragma client-url" and "pragma req-alt-repo" pragmas to that they are in fact sent on the first message. Begin using "{}" as the value for config setings such as "syncwith" so that the value can later be extended to hold JSON. file: [8ff36da9cd] check-in: [ebcce3ccdd] user: drh branch: trunk, size: 60081
2021-12-20
10:17
More fixes to the synclog xfer protocol. file: [d54fe7f8b5] check-in: [555e36595f] user: drh branch: synclog, size: 60383
09:53
First attempt at transfering SYNCLOG data over the wire. file: [df7b15fbb6] check-in: [d58eebb77f] user: drh branch: synclog, size: 60376
08:37
Change the synclog to keep timestamps with unixepoch(). This requires SQLite 3.38.0. file: [4ef48ec4fd] check-in: [3be414357f] user: drh branch: synclog, size: 60382
2021-12-19
17:50
Record sync operations in the new synclog table. file: [f452eb4dad] check-in: [42a6191e93] user: drh branch: synclog, size: 60376
2021-08-14
22:06
Remember the URLs for Git-mirror syncs. Show them on the /urllist page. file: [fdd2a3ade2] check-in: [458b35a507] user: drh branch: trunk, size: 60078
18:25
Further improvements to "fossil all git status" output. Do not show repositories for which the git export repository does not exist or is inactive. file: [cb580de728] check-in: [999d838de2] user: drh branch: trunk, size: 59848
18:00
Improved output (less clutter) from the "fossil all git status" command. Results are only shown from repositories that actually have a Git mirror. file: [d4c571b040] check-in: [9179663d8c] user: drh branch: trunk, size: 59511
2021-06-30
19:14
Initial changes to support HOST: prefixes on the REPOSITORY argument of the "fossil ui" command. file: [148294216a] check-in: [cb34f1a8ac] user: drh branch: remote-ui, size: 58944
2021-03-11
15:40
More help text consistency tweaks from forum discussion [forum:8c644048f0]: --repository REPO. file: [8665936fc4] check-in: [2f7c93f49c] user: stephan branch: trunk, size: 59065
2021-02-18
13:10
Fix the "fossil git export" command so that it returns a non-zero exit code if the "git push" command fails. file: [ef1e00bd6a] check-in: [da5faf18c3] user: drh branch: trunk, size: 59065
2021-02-06
06:58
Help text: swapped a few more long/short flags to short/long for consistency. file: [0b510c4417] check-in: [ba7b431792] user: stephan branch: trunk, size: 58979
2021-02-05
09:32
Amend 'fossil help' output for all commands to make options conform to GNU 'short|long' convention (e.g., -v|--verbose). file: [d7714ee470] check-in: [7f3c728db3] user: jamsek branch: trunk, size: 58979
2021-01-06
21:18
Further enhancements to "fossil git export" to fix a memory leak and to improve the operation of --mainbranch. file: [ad05e08c37] check-in: [953fac2b9b] user: drh branch: trunk, size: 58979
16:28
Set the gitmirror_mainbranch value earlier to avoid creating a default branch with the wrong name in new exports. file: [733acd3f53] check-in: [dbcf66b57f] user: drh branch: trunk, size: 56952
15:38
Fix multiple problems with check-in [9360b66a67086d64] that can lead to crashes in Fossil itself, and in git-fast-import, when attempting to mirror the Fossil self-hosting repository to Git. file: [a7075d0cc0] check-in: [b001a1c3de] user: drh branch: trunk, size: 56856
15:10
Add the blob_strlen() interface and use it for more robust git-export text. file: [86a0d859c0] check-in: [7e961919a0] user: drh branch: trunk, size: 56695
14:27
Fix an popen() error check in "fossil git export". file: [6bdc0c7077] check-in: [df5be59e5d] user: drh branch: trunk, size: 56653
2021-01-05
23:47
Attempt to add the --mainbranch option to the "fossil git export" command. This does not appear to be working. Need advice from a Git expert. file: [f8eb7c18b2] check-in: [4c384ba2f4] user: drh branch: trunk, size: 56653
2020-11-30
21:46
Add the "fossil all git export" and "fossil all git status" commands. file: [c26a485351] check-in: [9d53f2f6a2] user: drh branch: trunk, size: 55525
2020-11-19
13:34
Fix incorrect parsing of RFC 822 user contact info when exporting to a Git repository as reported by Warren in [forum:/info/29e358909c|forum post 29e358909c]. file: [aabb0b354d] check-in: [9360b66a67] user: jamsek branch: trunk, size: 55310
2020-11-12
14:51
Forgot to remove redundant ternary operator after testing [cd4fbdee00]. file: [a4b23f78de] check-in: [52fb87ba50] user: jamsek branch: trunk, size: 55135
14:26
Add new --attribute option to the 'fossil import --git' command that enables attributing commits to a username rather than the corresponding Git committer/author contact info of a given commit. Conversely, construct a full 'user <emailaddr>' Git committer string for commits when using 'fossil git export' by querying the new 'fx_git' table if it exists, or the 'info' column in the 'user' table. If no user specified emailaddr can be parsed, then use the generic 'user@noemail.net' string. file: [53583f5408] check-in: [cd4fbdee00] user: jamsek branch: trunk, size: 55187
2020-08-09
13:49
Revise and simplify the list of 1st-tier commands that are shown by the "fossil help" command. file: [9528ef2396] check-in: [84f697e570] user: drh branch: trunk, size: 54236
2020-06-25
00:16
Adjust help text to work better with the new formatter. file: [c094a4f557] check-in: [a8a606996b] user: drh branch: formatted-online-help, size: 54235
2020-06-09
00:27
Add the new "%$" conversion specifier in mprintf(), for escaping filenames for use in shell commands. Use this feature for added system() security whereever appropriate. file: [6b40c38ca0] check-in: [2209f55323] user: drh branch: trunk, size: 54235
2020-06-08
20:08
Version 2.10.1 file: [6dd46353b2] check-in: [674782c7a1] user: drh branch: branch-2.10, size: 54186
03:32
Make the "fossil git export" command more restrictive about characters that it allows in tag names. file: [a0cd1cb8c8] check-in: [c9a592dde7] user: drh branch: trunk, size: 54243
2020-04-05
23:45
Match the COMMAND and WEBPAGE names with _cmd and _page functions; [https://fossil-scm.org/forum/forumpost/045bffda68|forumpost/045bffda68] file: [b08b42a69e] check-in: [06afb7022f] user: ashepilko branch: api-cleanup, size: 53647
2020-02-06
15:06
Get the "fossil git export" command working on windows. file: [78cf66b757] check-in: [0dd697622a] user: drh branch: trunk, size: 53647
2019-10-01
18:11
Use double-quotes instead of single-quotes for the argument to "git export" in the "fossil git export" command, for windows compatibility. file: [6cc3f25533] check-in: [be7c1bde92] user: drh branch: trunk, size: 53590
2019-09-18
14:57
Style cleanup (no tabs). No functional change. file: [3fe6d81d8c] check-in: [89872d17d1] user: andybradford branch: trunk, size: 53588
2019-05-17
14:04
Fix a warning (a real one) on win32: Win32 printf doesn't know about "%lld". file: [d7b08f3754] check-in: [f6524ae5cc] user: jan.nijtmans branch: trunk, size: 53574
2019-04-23
12:46
Further improvements to the "fossil git status" command. file: [654231c0f7] check-in: [8b18d011a4] user: drh branch: trunk, size: 53507
01:05
On a "fossil git export", run appropriate "git update-ref" commands to make sure that all refs/heads point to the latest check-ins for the branch, even in cases there the branch has been renamed on the Fossil side by a tag. file: [b0ace47d4c] check-in: [ab68afe984] user: drh branch: trunk, size: 53199
2019-04-22
15:22
New information about the git export shown by "fossil git status". file: [0684eee8e4] check-in: [a0a5be0e97] user: drh branch: trunk, size: 52049
15:09
Fix a problem in the git-export database schema upgrade logic. file: [3e11002c8e] check-in: [84949f51c8] user: drh branch: trunk, size: 51514
14:22
Enhance the "fossil git export" so that it works for repositories that use a single artifact as both an ordinary file and as a check-in manifest. file: [43466d5455] check-in: [fdde65e7f1] user: drh branch: trunk, size: 51494
13:54
Add the "fossil git status" command. file: [c26c46df21] check-in: [f77ebeeaec] user: drh branch: trunk, size: 50597
2019-03-20
12:34
An attempt to get the --autopush option of "fossil git export" to work with ssh. file: [c302476be6] check-in: [cd212e8022] user: drh branch: trunk, size: 49557
2019-03-17
10:44
Fix for _popen and _pclose with Visual C++ in the new export.c module. file: [d51e7d9480] check-in: [931da0c3e3] user: wyoung branch: trunk, size: 49427
00:14
Automatically run "git repack -adf" after an initial export to git using the "fossil git export" command. (Recommended by Linus Torvalds himself.) file: [8389250ea8] check-in: [e4d87cd16b] user: drh branch: trunk, size: 49306
00:02
Do not use the --input-marks option with "git fast-import". Instead, remember older Git-names and insert them directly into the fast-import stream. file: [27e1273cf5] check-in: [8e6f3ced08] user: drh branch: trunk, size: 49022
2019-03-16
17:04
Abandon an export to Git if a phantom artifact is encountered on any check-in that is less than one year old. This is a defense against generating an incorrect export from a repository that has an incomplete sync. Shunned artifacts are always ignored, regardless of age. file: [c01940ecb4] check-in: [de0bbcb53c] user: drh branch: trunk, size: 48856
13:58
When the "fossil git export" command displays the "git push" command it is about to run, omit the display of any password that happens to be embedded in the URL. file: [9796dc1bc5] check-in: [aaa937a8e1] user: drh branch: trunk, size: 46300
13:31
Fix a missing newline when printing the git push command on --autopush. file: [771a771e77] check-in: [df619db6e4] user: drh branch: trunk, size: 46139
13:23
Update the "fossil git export" command so that it remembers the last repository name and reuses it if no repository is specified. Add the --force option. file: [bbc232932e] check-in: [fe98905e9a] user: drh branch: trunk, size: 46137
13:06
Add the --autopush option to the "fossil git export" command. file: [cdae407e0f] check-in: [ac5ae7b733] user: drh branch: trunk, size: 45505
00:26
Enhance the "fossil git export" command so that it also exports tags as lightweight Git tags. file: [6834b28102] check-in: [4f19d67b02] user: drh branch: mirror-cmd, size: 44406
2019-03-15
21:36
Do the export within a transaction for performance. Record a complete two-way map of Git and Fossil names in the mirror.mmark table. file: [4e343e57c2] check-in: [c4f9b177f4] user: drh branch: mirror-cmd, size: 43229
20:01
Add the "FossilOrigin-Name:" footer on all exported comments. file: [8f59d11dc6] check-in: [051cd3825e] user: drh branch: mirror-cmd, size: 43368
16:38
Rename "fossil mirror" to "fossil git export". Deprecate the "fossil export" command. file: [d176e497f3] check-in: [2faec6b748] user: drh branch: mirror-cmd, size: 43191
16:11
Export "manifest", "manifest.uuid", and "manifest.tags" files if that is what the repository needs. file: [0e313599f8] check-in: [eafe5ce624] user: drh branch: mirror-cmd, size: 42962
13:12
The branch names should start with "refs/heads" (with an "s" at the end), not just "refs/head". file: [699c2d2345] check-in: [d74371680d] user: drh branch: mirror-cmd, size: 41400
11:48
Render any phantom or shunned artifacts as an empty file. file: [5671855a1d] check-in: [2487f505cd] user: drh branch: mirror-cmd, size: 41399
2019-03-14
20:16
The mirror command is now able to export all of Fossil itself, though tags are still not exported. file: [ec43bad927] check-in: [a3471a5eef] user: drh branch: mirror-cmd, size: 41202
19:43
Fix the export so that it is able to handle phantom check-ins. file: [1d54df0aff] check-in: [4a480954e7] user: drh branch: mirror-cmd, size: 39824
18:55
Sanitize branch names to conform to Git restrictions. file: [5baf3e9b4c] check-in: [11bcc4eb10] user: drh branch: mirror-cmd, size: 39639
18:20
Progress on the "fossil mirror" command. file: [1ee59943c2] check-in: [5063eb521e] user: drh branch: mirror-cmd, size: 38133
17:16
Begin work on the "fossil mirror" command. file: [6b85a87c5a] check-in: [dbc1c62a99] user: drh branch: mirror-cmd, size: 38195
2018-05-19
06:47
Fix 2 (harmless) compiler warnings about unused variables file: [70e26ab1b5] check-in: [961787df06] user: jan.nijtmans branch: trunk, size: 25673
2018-05-04
15:39
When doing "fossil export" make sure the output is in strict topological orders, since Git hates timewarps. file: [89d87a3279] check-in: [c0a3e9ff6f] user: drh branch: trunk, size: 25721
2018-01-16
09:09
missing hyphens file: [20d1516bc4] check-in: [bad4d28297] user: jan.nijtmans branch: trunk, size: 22691
08:34
Fix recognition of sha3 in marks file. Patch adapted from Dingyuan Wang's report. Thanks! file: [f1235771e6] check-in: [90b07ed588] user: jan.nijtmans branch: trunk, size: 22689
2017-04-18
18:40
Index xmark(trid), otherwise writing the mark file can take hours. file: [3e09dfda9d] check-in: [48d466ab73] user: joerg branch: trunk, size: 22648
2017-04-12
11:39
Minor gcc compiler warnings file: [b957f9d1ed] check-in: [a9d1d46f65] user: jan.nijtmans branch: trunk, size: 22589
2017-04-03
11:40
Add support for GIT comment tags, as suggested [https://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg24595.html|here]. Implementation by Roy Marples, but modified to use the (existing) 'T' card in stead of the 'C' card. file: [dac5a772f7] check-in: [3bba2a6e82] user: jan.nijtmans branch: trunk, size: 22593
2017-03-01
15:35
Change references to "SHA1 hash" in comments and UI labels to be "artifact hash" or similar. file: [ff3740ec03] check-in: [b9a1a3b9d8] user: drh branch: fossil-2.0, size: 20637
2017-02-21
22:18
Cast strlen to int to avoid a compiler error and to be consitent elsewhere. file: [be755b188b] check-in: [7a93cd883b] user: roy.marples branch: roy-export, size: 22613
2017-02-13
10:37
Same as "roy-export", but use tag value in stead of comment for storing comment related to tags. (Not actually tested with GIT yet!) file: [2bbe24ede5] check-in: [cb1fb96f0d] user: jan.nijtmans branch: jn-export, size: 22593
03:34
Add comment cards to tags, which are accepted by git import and exported to git export. They are visible via the timeline, but currently lack an editable means via the UI. file: [9e62f1ee1d] check-in: [752bdd38c7] user: roy.marples branch: roy-export, size: 22608
2017-02-10
20:28
Add --rename-trunk option to export instead of forcing a naming convention. file: [e77398c54b] check-in: [bc443729a0] user: roy.marples branch: roy-export, size: 22444
13:03
Style file: [791e120018] check-in: [8e7079731e] user: roy.marples branch: roy-export, size: 22150
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. file: [5ecf7abdfa] check-in: [01231dcb5e] user: roy.marples branch: roy-export, size: 22152
01:25
Add function print_ref to sanitize branch and tag names in accordance with https://git-scm.com/docs/git-check-ref-format Use this rather than simply replacing non alpha or numeric chars for branch and tag names when exporting. file: [6f2d75f340] check-in: [abc87ccdd5] user: roy.marples branch: roy-export, size: 22073
01:08
Export the committer of the tag rather than just <tagger>. file: [383e5b8caf] check-in: [4a51461e96] user: roy.marples branch: roy-export, size: 20789
2017-01-06
15:28
Upgrade dirent.h to version 1.22. Minor spacing changes. file: [d506a4f7e0] check-in: [b66b99cde9] user: jan.nijtmans branch: trunk, size: 20637
04:09
Fix user's email being swapped with name in git export committer record. file: [0917784be9] check-in: [76d9a4555b] user: ashepilko branch: trunk, size: 20641
2016-11-07
01:29
Remove some tabs and end-of-line whitespace file: [26d0f57461] check-in: [bf9669f55e] user: andygoth branch: trunk, size: 19186
2016-10-28
22:45
Fix a C99-ism. file: [7751f8df38] check-in: [61ec712492] user: mgagnon branch: trunk, size: 19179
2016-10-23
02:16
Fixes for incremental Git import/export. file: [e3f73d427e] check-in: [9599705c69] user: mistachkin branch: experimental, size: 19179
2016-10-20
16:48
Remove extra newlines from calls to fossil_fatal() file: [22d375733c] check-in: [2c42b217e5] user: andygoth branch: trunk, size: 17680
2016-10-08
14:06
Fix a regression introduced in [69668f8c57] that broke export of tags. file: [5378fd4a75] check-in: [b2e0fda9e1] user: nick.lloyd branch: nick.lloyd-git-interop, size: 19181
2016-09-23
02:46
Coding style tweaks. file: [37884a109f] check-in: [32e418f856] user: mistachkin branch: nick.lloyd-git-interop, size: 19118
2016-09-21
19:05
Fix a problem that can occasionally occur with repeated syncs to/from a git repository, where a fossil-generated mark clashes with a mark previously generated by git, causing the sync to fail. file: [4c140f1f0f] check-in: [69668f8c57] user: nick.lloyd branch: nick.lloyd-git-interop, size: 19154
2016-06-09
02:22
Use sqlite3_snprintf instead because it guarantees that the buffer will be zero-terminated and to avoid warnings on OpenBSD. file: [ab705fb1bd] check-in: [460b93b53e] user: andybradford branch: trunk, size: 17682
2016-05-17
04:16
Remove unused variables file: [78ed59a60b] check-in: [f9decff05e] user: andygoth branch: trunk, size: 17588
2016-05-16
17:58
Remove C99-isms that MSVC has trouble with. file: [2df2303209] check-in: [addfe48990] user: drh branch: nick.lloyd-git-interop, size: 17635
2016-05-14
21:41
Add --import-marks and --export-marks options to 'fossil import' subcommand. This allows one to save all git-generated marks following an import. Previously, performing an incremental import from git resulted in new commits being imported as orphans, and trying to perform an export to git at some later time resulted in git complaining of undefined marks. To remedy this, the format of the marks file is amended to include the rid, mark, and UUID of each commit. Now, fossil and git agree on the mapping between commits and marks, so updates in either direction can be performed easily. file: [58ca9b6220] check-in: [c26213be47] user: nick.lloyd branch: nick.lloyd-git-interop, size: 17631
2016-05-09
04:58
Change the help for 'export' to refer to 'tech notes', not 'events'. file: [16ac5cfaeb] check-in: [2fd471dc92] user: mistachkin branch: trunk, size: 11295
2015-01-15
09:28
Remove spacings at end-of-line. No change in any functionality. file: [5a38d84107] check-in: [080ab8cb0a] user: jan.nijtmans branch: trunk, size: 11291
2014-12-08
15:36
An experiment in trying to improve the file history timelines. A schema change is necessary for this improvement, which the present check-in captures. However, the file history timelines have not yet been improved, and in fact are slightly broken at this point. file: [9447217b04] check-in: [e1e9c3a300] user: drh branch: file-history-enhancement, size: 11293
2014-10-27
18:44
Fix the formatting of the "committer" lines on Git export. file: [694230481d] check-in: [36731ca5bd] user: drh branch: trunk, size: 11297
2014-10-06
17:34
Prefer the editted comment and editted user over the originals when doing an export to git. file: [fecd7f621d] check-in: [83e4f8660c] user: drh branch: trunk, size: 11297
2014-05-28
03:55
Fixed an off-by-one error in print_person(). The original code extracted the leading '<' of the email address as part of the user name, putting an unmatched '<' into the git dump file, and breaking fast_import. This bug was only triggered by the user's contact information actually containing an email address. file: [70394a2d5c] check-in: [de1921bad3] user: aku branch: trunk, size: 11297
2013-08-30
03:06
Change most uses of fossil_panic() to fossil_fatal(). Modify fossil_panic() to avoid allocating heap memory and to close the database connection before doing anything else. file: [026f374629] check-in: [320f14363e] user: drh branch: trunk, size: 10858
2012-11-19
16:41
Fix the git-fast-export generator so that it does not make links to files that for some reason or another do not exist in the repository. Also fix some stylistic problems in the export code. file: [4a5a11c666] check-in: [c3bfb0083a] user: drh branch: trunk, size: 10858
2012-08-29
11:27
fix for [01a2f3a346] file: [33ae18edc8] check-in: [0357ed556e] user: jan.nijtmans branch: msvc-broken, size: 10690
2012-08-22
13:47
new functions fossil_unicode_to_utf8 and fossil_utf8_to_unicode. Modify file_delete, file_tempname, fossil_getenv and fossil_fopen to use it, so now they can handle all unicode characters not only the ones from the mbcs This should allow all filenames and environment variables to contain unicode characters, without problems on WIN32. If main.c is compiled with -DUNICODE -D_UNICODE, then command line arguments allow unicode characters on win32 as well. Build system not adapted for that yet. file: [a7543ea734] check-in: [65c8ca0571] user: jan.nijtmans branch: eclipse-project, size: 10691
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [35e20f5e0d] check-in: [0328d68181] user: drh branch: sqlite4, size: 10687
2012-03-29
14:54
Add vim modline everywhere file: [ca9d451202] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 10719
2011-09-14
00:32
Begin streamline the online documentation to: * always include a short overview of the options supported by a given command, alphabetically sorted * reference similar/related commands with a final See also: section * Use ?x? for optional arguments * collapse supported options into ?OPTIONS? This is commit #1/n. file: [5b67529e6e] check-in: [3fbf8caa87] user: martin.weber branch: msw-docco, size: 10677
2011-08-25
11:42
Introduce constants for internal permissions (executable/symlink). file: [1118352e8b] check-in: [f6daee3e7b] user: dmitry branch: symlinks, size: 10431
2011-08-23
17:44
Fill islink field in vfile table when adding files. Support symlinks in export. Make manifest_file_perm() return 2 for symlinks. Add file_perm() function, and use it instead of file_isexe() when we need both isexe and islink properties. file: [d7f1db1d8c] check-in: [4619361d58] user: dmitry branch: symlinks, size: 10385
2011-07-28
19:57
Merge Joerg's export command improvements into trunk. file: [2e5077b437] check-in: [dd74352d2c] user: drh branch: trunk, size: 10222
2011-07-23
23:01
Fix logic error: look up mlink entries of the commit, not the parent. file: [eccf846e54] check-in: [9a67937056] user: joerg branch: experimental, size: 10206
00:24
During the first phase of export, explicitly try to process the commits in order of delta chains to minimize recomputation and cache trashing. file: [f40751f600] check-in: [2cfb415b23] user: joerg branch: experimental, size: 10264
2011-07-22
19:38
Since the mlink table contains entries with pid=0 for non-empty manifests without parents, drop the original non-incremental commit logic by folding the few special cases into the mlink/plink based output. file: [3b6c926b19] check-in: [fca3073621] user: joerg branch: trunk, size: 9400
2011-07-21
19:20
Add support for incremental exports file: [cdb1482c24] check-in: [c2ccd82522] user: joerg branch: trunk, size: 10271
17:37
Use stable marks derived from the rid in preparation for optional incremental exports. file: [6dc187b147] check-in: [22d414e517] user: joerg branch: trunk, size: 7872
17:35
Skip missing merge parents. Git doesn't like missing marks and there isn't anything to be done about them. file: [a0359a6c9e] check-in: [b71b32d131] user: joerg branch: trunk, size: 7845
15:50
Avoid parsing manifests if a parent exists. Now the only case left using deleteall is when no parent exists. file: [2400c77ec7] check-in: [bc8d368b66] user: joerg branch: trunk, size: 7780
13:53
Write incremental file lists for fast-export. file: [03e9e557d9] check-in: [433a3c9a78] user: joerg branch: trunk, size: 7313
2011-06-17
15:13
Fixes to "export --git". Changes spaces in tag names to "_" since Git cannot deal with spaces in tag names. Make sure the name of the committer is well-formed according to git's definition of well-formedness. file: [c21fd011b3] check-in: [b707622f29] user: drh branch: trunk, size: 6626
2011-05-30
06:55
Online help for several more commands adapted file: [914cb74956] check-in: [d23f98877d] user: Arjen Markus branch: arjen-doc-updates, size: 6417
2011-05-02
13:09
Avoid using the %lld printf conversion since windows does not support it. file: [576c11ee54] check-in: [be467e9328] user: drh branch: trunk, size: 6394
2011-01-05
18:55
Experimental change to try to make "export" run faster for massive repositories. file: [bfe3c7e7e7] check-in: [c9a903c2bc] user: drh branch: experimental, size: 6400
2010-12-18
23:59
For the git-fast-export interchange format, make sure labels for blobs and labels for check-ins do not collide since git cannot deal with that. Ticket [536c3399075d06] file: [493b6d6ee9] check-in: [d45502b066] user: drh branch: trunk, size: 6369
2010-12-03
21:06
Fix typo in import/export documentation (ticket [a66760daeecca231d84]). Add flexibility to the command-line options to import/export to accommodate future enhancements. file: [9665562c48] check-in: [1b53667d28] user: drh branch: trunk, size: 6221
2010-11-26
18:37
Report an error if the repository schema version does not match what the fossil executable expects. file: [862c16cccb] check-in: [c0c3d92340] user: drh branch: trunk, size: 5848
2010-11-17
13:15
Set binary translation mode on windows for import and export. Ticket [feeb8a91eb838f743ae9] file: [eb6f61d9ee] check-in: [b408ece7f6] user: drh branch: trunk, size: 5845
2010-11-11
01:16
Cast strlen() to int when used as a printf() argument. file: [4033bdf7a0] check-in: [5fa4dfc286] user: drh branch: trunk, size: 5815
2010-11-09
11:59
The "export" command now exports tags. file: [077a21d442] check-in: [06bc2fb7cc] user: drh branch: trunk, size: 5810
2010-11-08
23:26
Export works for Fossil and SQLite repositories. Does not yet export tags. Also need to add incremental export. file: [8fbd572b32] check-in: [e25884d44f] user: drh branch: experimental, size: 5203
19:00
Added: Begin adding "import" and "export" commands for converting repositories from and to the Git format. The "export" command currently generates output but is not quite correct. The "import" command is still a stub. file: [4165bcae94] check-in: [b3fd32f925] user: drh branch: experimental, size: 4665