Differences From Artifact [dbac624435]:
- File src/clone.c — part of check-in [676fdd088a] at 2008-05-01 22:49:57 on branch trunk — Enable proxy support using the "fossil setting proxy" command. This check-in is made using a proxy. (user: drh size: 2289)
To Artifact [0c2a5c8339]:
- File src/clone.c — part of check-in [f652599003] at 2008-05-06 12:24:22 on branch trunk — Add the --proxy command-line option that can be used to enable or disable an http proxy on a case by case basis. (user: drh size: 2312)
| ︙ | |||
34 35 36 37 38 39 40 41 42 43 44 45 46 47 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | + |
**
** Usage: %fossil clone URL FILENAME
**
** Make a clone of a repository specified by URL in the local
** file named FILENAME.
*/
void clone_cmd(void){
url_proxy_options();
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]);
}
|
| ︙ |