Fossil

File History
Login

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

History of src/export.c

2018-05-19
06:47
Fix 2 (harmless) compiler warnings about unused variables file: [70e26ab1] check-in: [961787df] 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: [89d87a32] check-in: [c0a3e9ff] user: drh branch: trunk, size: 25721
2018-01-16
09:09
missing hyphens file: [20d1516b] check-in: [bad4d282] 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: [f1235771] check-in: [90b07ed5] user: jan.nijtmans branch: trunk, size: 22689
2017-04-18
18:40
Index xmark(trid), otherwise writing the mark file can take hours. file: [3e09dfda] check-in: [48d466ab] user: joerg branch: trunk, size: 22648
2017-04-12
11:39
Minor gcc compiler warnings file: [b957f9d1] check-in: [a9d1d46f] user: jan.nijtmans branch: trunk, size: 22589
2017-04-03
11:40
Add support for GIT comment tags, as suggested here. Implementation by Roy Marples, but modified to use the (existing) 'T' card in stead of the 'C' card. file: [dac5a772] check-in: [3bba2a6e] 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: [ff3740ec] check-in: [b9a1a3b9] 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: [be755b18] check-in: [7a93cd88] 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: [2bbe24ed] check-in: [cb1fb96f] 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: [9e62f1ee] check-in: [752bdd38] 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: [e77398c5] check-in: [bc443729] user: roy.marples branch: roy-export, size: 22444
13:03
Style file: [791e1200] check-in: [8e707973] 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: [5ecf7abd] check-in: [01231dcb] 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: [6f2d75f3] check-in: [abc87ccd] user: roy.marples branch: roy-export, size: 22073
01:08
Export the committer of the tag rather than just <tagger>. file: [383e5b8c] check-in: [4a51461e] user: roy.marples branch: roy-export, size: 20789
2017-01-06
15:28
Upgrade dirent.h to version 1.22. Minor spacing changes. file: [d506a4f7] check-in: [b66b99cd] user: jan.nijtmans branch: trunk, size: 20637
04:09
Fix user's email being swapped with name in git export committer record. file: [0917784b] check-in: [76d9a455] user: ashepilko branch: trunk, size: 20641
2016-11-07
01:29
Remove some tabs and end-of-line whitespace file: [26d0f574] check-in: [bf9669f5] user: andygoth branch: trunk, size: 19186
2016-10-28
22:45
Fix a C99-ism. file: [7751f8df] check-in: [61ec7124] user: mgagnon branch: trunk, size: 19179
2016-10-23
02:16
Fixes for incremental Git import/export. file: [e3f73d42] check-in: [9599705c] user: mistachkin branch: experimental, size: 19179
2016-10-20
16:48
Remove extra newlines from calls to fossil_fatal() file: [22d37573] check-in: [2c42b217] user: andygoth branch: trunk, size: 17680
2016-10-08
14:06
Fix a regression introduced in [69668f8c57] that broke export of tags. file: [5378fd4a] check-in: [b2e0fda9] user: nick.lloyd branch: nick.lloyd-git-interop, size: 19181
2016-09-23
02:46
Coding style tweaks. file: [37884a10] check-in: [32e418f8] 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: [4c140f1f] check-in: [69668f8c] 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: [ab705fb1] check-in: [460b93b5] user: andybradford branch: trunk, size: 17682
2016-05-17
04:16
Remove unused variables file: [78ed59a6] check-in: [f9decff0] user: andygoth branch: trunk, size: 17588
2016-05-16
17:58
Remove C99-isms that MSVC has trouble with. file: [2df23032] check-in: [addfe489] 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: [58ca9b62] check-in: [c26213be] 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: [16ac5cfa] check-in: [2fd471dc] user: mistachkin branch: trunk, size: 11295
2015-01-15
09:28
Remove spacings at end-of-line. No change in any functionality. file: [5a38d841] check-in: [080ab8cb] 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: [9447217b] check-in: [e1e9c3a3] user: drh branch: file-history-enhancement, size: 11293
2014-10-27
18:44
Fix the formatting of the "committer" lines on Git export. file: [69423048] check-in: [36731ca5] 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: [fecd7f62] check-in: [83e4f866] 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: [70394a2d] check-in: [de1921ba] 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: [026f3746] check-in: [320f1436] 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: [4a5a11c6] check-in: [c3bfb008] user: drh branch: trunk, size: 10858
2012-08-29
11:27
fix for [01a2f3a346] file: [33ae18ed] check-in: [0357ed55] 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: [a7543ea7] check-in: [65c8ca05] 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: [35e20f5e] check-in: [0328d681] user: drh branch: sqlite4, size: 10687
2012-03-29
14:54
Add vim modline everywhere file: [ca9d4512] check-in: [a496d8e8] 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: [5b67529e] check-in: [3fbf8caa] user: martin.weber branch: msw-docco, size: 10677
2011-08-25
11:42
Introduce constants for internal permissions (executable/symlink). file: [1118352e] check-in: [f6daee3e] 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: [d7f1db1d] check-in: [4619361d] user: dmitry branch: symlinks, size: 10385
2011-07-28
19:57
Merge Joerg's export command improvements into trunk. file: [2e5077b4] check-in: [dd74352d] 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: [eccf846e] check-in: [9a679370] 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: [f40751f6] check-in: [2cfb415b] 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: [3b6c926b] check-in: [fca30736] user: joerg branch: trunk, size: 9400
2011-07-21
19:20
Add support for incremental exports file: [cdb1482c] check-in: [c2ccd825] user: joerg branch: trunk, size: 10271
17:37
Use stable marks derived from the rid in preparation for optional incremental exports. file: [6dc187b1] check-in: [22d414e5] 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: [a0359a6c] check-in: [b71b32d1] 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: [2400c77e] check-in: [bc8d368b] user: joerg branch: trunk, size: 7780
13:53
Write incremental file lists for fast-export. file: [03e9e557] check-in: [433a3c9a] 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: [c21fd011] check-in: [b707622f] user: drh branch: trunk, size: 6626
2011-05-30
06:55
Online help for several more commands adapted file: [914cb749] check-in: [d23f9887] 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: [576c11ee] check-in: [be467e93] user: drh branch: trunk, size: 6394
2011-01-05
18:55
Experimental change to try to make "export" run faster for massive repositories. file: [bfe3c7e7] check-in: [c9a903c2] 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: [493b6d6e] check-in: [d45502b0] 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: [9665562c] check-in: [1b53667d] 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: [862c16cc] check-in: [c0c3d923] user: drh branch: trunk, size: 5848
2010-11-17
13:15
Set binary translation mode on windows for import and export. Ticket [feeb8a91eb838f743ae9] file: [eb6f61d9] check-in: [b408ece7] user: drh branch: trunk, size: 5845
2010-11-11
01:16
Cast strlen() to int when used as a printf() argument. file: [4033bdf7] check-in: [5fa4dfc2] user: drh branch: trunk, size: 5815
2010-11-09
11:59
The "export" command now exports tags. file: [077a21d4] check-in: [06bc2fb7] 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: [8fbd572b] check-in: [e25884d4] user: drh branch: experimental, size: 5203
19:00
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: [4165bcae] check-in: [b3fd32f9] user: drh branch: experimental, size: 4665 Added