Overview
SHA1 Hash: | cbe0ace8f3e3fdfc2aa422b26dbfd8d26fafb683 |
---|---|
Date: | 2007-09-26 12:21:20 |
User: | drh |
Comment: | Fix a bug in clone - have it open the global settings database file so that it can access the default-user setting. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/clone.c from [c14cca48fb] to [9cbe1bd6df].
@@ -39,10 +39,11 @@ */ void clone_cmd(void){ if( g.argc!=4 ){ usage("FILE-OR-URL NEW-REPOSITORY"); } + db_open_config(); if( file_size(g.argv[3])>0 ){ fossil_panic("file already exists: %s", g.argv[3]); } url_parse(g.argv[2]); db_create_repository(g.argv[3]);