Differences From Artifact [9951c27344]:
- File
src/import.c
— part of check-in
[3fbf8caa87]
at
2011-09-14 00:32:30
on branch msw-docco
— 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.
To Artifact [b79a02214f]:
- File src/import.c — part of check-in [65c8ca0571] at 2012-08-22 13:47:12 on branch eclipse-project — 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. (user: jan.nijtmans size: 24472) [more...]
| ︙ | ︙ | |||
730 731 732 733 734 735 736 |
find_option("git",0,0); /* Skip the --git option for now */
verify_all_options();
if( g.argc!=3 && g.argc!=4 ){
usage("REPOSITORY-NAME");
}
if( g.argc==4 ){
| | | 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 |
find_option("git",0,0); /* Skip the --git option for now */
verify_all_options();
if( g.argc!=3 && g.argc!=4 ){
usage("REPOSITORY-NAME");
}
if( g.argc==4 ){
pIn = fossil_fopen(g.argv[3], "rb");
}else{
pIn = stdin;
fossil_binary_mode(pIn);
}
if( !incrFlag ){
if( forceFlag ) file_delete(g.argv[2]);
db_create_repository(g.argv[2]);
|
| ︙ | ︙ |