Differences From:
File
src/db.c
part of check-in
[9346f2290c]
- Added the "all" command for things like "fossil all sync". I am not sure
"all" is quite the right name for this command, so I may yet change it.
by
drh on
2008-10-17 00:20:21.
[view]
To:
File
src/db.c
part of check-in
[2bd0690fe8]
- Add the "all rebuild" subcommand. Be more aggressive about adding
repositories to the repository list.
by
drh on
2008-10-17 12:31:26.
[view]
@@ -1130,17 +1130,20 @@
**
** The value field is set to 1.
*/
void db_record_repository_filename(const char *zName){
+ Blob full;
if( zName==0 ){
if( !g.localOpen ) return;
zName = db_lget("repository", 0);
}
+ file_canonical_name(zName, &full);
db_multi_exec(
"INSERT OR IGNORE INTO global_config(name,value)"
"VALUES('repo:%q',1)",
- zName
+ blob_str(&full)
);
+ blob_reset(&full);
}
/*
** COMMAND: open