Differences From:
File
src/checkin.c
part of check-in
[4c78a18ad2]
- fixed typos
by
bch on
2008-08-14 04:53:51.
Also file
src/checkin.c
part of check-in
[5fb14b9a0f]
- Include non-sym- tags in tagview web page. Also merge mainline into tagview branch.
by
eric on
2008-08-21 20:59:01.
Also file
src/checkin.c
part of check-in
[16e308106f]
- Third time lucky? Commit changes, with merge applied only once. (so not filled with MERGE CONFLICT messages)
by
bharder on
2008-08-14 05:27:43.
[view]
To:
File
src/checkin.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]
@@ -47,9 +47,11 @@
int isChnged = db_column_int(&q,2);
int isNew = db_column_int(&q,3)==0;
char *zFullName = mprintf("%s/%s", g.zLocalRoot, zPathname);
blob_append(report, zPrefix, nPrefix);
- if( access(zFullName, 0) ){
+ if( isDeleted ){
+ blob_appendf(report, "DELETED %s\n", zPathname);
+ }else if( access(zFullName, 0) ){
blob_appendf(report, "MISSING %s\n", zPathname);
}else if( isNew ){
blob_appendf(report, "ADDED %s\n", zPathname);
}else if( isDeleted ){
@@ -399,8 +401,9 @@
fossil_fatal("no such user: %s", g.zLogin);
}
db_begin_transaction();
+ db_record_repository_filename(0);
rc = unsaved_changes();
if( rc==0 && !isAMerge && !forceFlag ){
fossil_panic("nothing has changed");
}