Fossil SCM

Merge latest from trunk

brickviking 2024-12-06 06:13 bv-infotool merge
Commit f040c11f3293cd154baa992947c360e7e105a4e78c4d3c82b5b8b38a21fd3eff
1 file changed +4 -4
+4 -4
--- src/merge.c
+++ src/merge.c
@@ -240,11 +240,11 @@
240240
** Usage: %fossil merge-info [OPTIONS]
241241
**
242242
** Display information about the most recent merge operation.
243243
**
244244
** Options:
245
-** -a|--all Show all all file changes that happened because of
245
+** -a|--all Show all file changes that happened because of
246246
** the merge. Normally only MERGE, CONFLICT, and ERROR
247247
** lines are shown
248248
** -c|--context N Show N lines of context around each change,
249249
** with negative N meaning show all content. Only
250250
** meaningful in combination with --tcl or --tk.
@@ -253,11 +253,11 @@
253253
** information needed to display the changes to
254254
** FILE caused by the most recent merge. FILE must
255255
** be a pathname relative to the root of the check-out.
256256
** --tk Bring up a Tcl/Tk GUI that shows the changes
257257
** associated with the most recent merge.
258
-**
258
+**
259259
*/
260260
void merge_info_cmd(void){
261261
const char *zCnt;
262262
const char *zTcl;
263263
int bTk;
@@ -1207,11 +1207,11 @@
12071207
** of M and V is an empty file. In this case, merge conflict marks will be
12081208
** added to the file and user will be forced to take a decision.
12091209
*/
12101210
db_prepare(&q,
12111211
/* 0 1 2 3 4 5 6 7 8 */
1212
- "SELECT ridm, idv, ridp, ridv, %s, fn, isexe, islinkv, islinkm,"
1212
+ "SELECT ridm, idv, ridp, ridv, %z, fn, isexe, islinkv, islinkm,"
12131213
/* 9 10 11 */
12141214
" fnp, fnm, chnged"
12151215
" FROM fv"
12161216
" WHERE idv>0 AND idm>0"
12171217
" AND ridm!=ridp AND (ridv!=ridp OR chnged)",
@@ -1292,11 +1292,11 @@
12921292
zErrMsg = "cannot merge binary file";
12931293
zType = "ERROR";
12941294
}
12951295
db_multi_exec(
12961296
"INSERT INTO mergestat(op,fnp,ridp,fn,ridv,sz,fnm,ridm,fnr,nc,msg)"
1297
- "VALUES(%Q,%Q,%d,%Q,iif(%d,%d,NULL),iif(%d,%d,NULL),%Q,%d,"
1297
+ "VALUES(%Q,%Q,%d,%Q,iif(%d,%d,NULL),iif(%d,%lld,NULL),%Q,%d,"
12981298
"%Q,%d,%Q)",
12991299
/* op */ zType,
13001300
/* fnp */ db_column_text(&q, 9),
13011301
/* ridp */ ridp,
13021302
/* fn */ zName,
13031303
--- src/merge.c
+++ src/merge.c
@@ -240,11 +240,11 @@
240 ** Usage: %fossil merge-info [OPTIONS]
241 **
242 ** Display information about the most recent merge operation.
243 **
244 ** Options:
245 ** -a|--all Show all all file changes that happened because of
246 ** the merge. Normally only MERGE, CONFLICT, and ERROR
247 ** lines are shown
248 ** -c|--context N Show N lines of context around each change,
249 ** with negative N meaning show all content. Only
250 ** meaningful in combination with --tcl or --tk.
@@ -253,11 +253,11 @@
253 ** information needed to display the changes to
254 ** FILE caused by the most recent merge. FILE must
255 ** be a pathname relative to the root of the check-out.
256 ** --tk Bring up a Tcl/Tk GUI that shows the changes
257 ** associated with the most recent merge.
258 **
259 */
260 void merge_info_cmd(void){
261 const char *zCnt;
262 const char *zTcl;
263 int bTk;
@@ -1207,11 +1207,11 @@
1207 ** of M and V is an empty file. In this case, merge conflict marks will be
1208 ** added to the file and user will be forced to take a decision.
1209 */
1210 db_prepare(&q,
1211 /* 0 1 2 3 4 5 6 7 8 */
1212 "SELECT ridm, idv, ridp, ridv, %s, fn, isexe, islinkv, islinkm,"
1213 /* 9 10 11 */
1214 " fnp, fnm, chnged"
1215 " FROM fv"
1216 " WHERE idv>0 AND idm>0"
1217 " AND ridm!=ridp AND (ridv!=ridp OR chnged)",
@@ -1292,11 +1292,11 @@
1292 zErrMsg = "cannot merge binary file";
1293 zType = "ERROR";
1294 }
1295 db_multi_exec(
1296 "INSERT INTO mergestat(op,fnp,ridp,fn,ridv,sz,fnm,ridm,fnr,nc,msg)"
1297 "VALUES(%Q,%Q,%d,%Q,iif(%d,%d,NULL),iif(%d,%d,NULL),%Q,%d,"
1298 "%Q,%d,%Q)",
1299 /* op */ zType,
1300 /* fnp */ db_column_text(&q, 9),
1301 /* ridp */ ridp,
1302 /* fn */ zName,
1303
--- src/merge.c
+++ src/merge.c
@@ -240,11 +240,11 @@
240 ** Usage: %fossil merge-info [OPTIONS]
241 **
242 ** Display information about the most recent merge operation.
243 **
244 ** Options:
245 ** -a|--all Show all file changes that happened because of
246 ** the merge. Normally only MERGE, CONFLICT, and ERROR
247 ** lines are shown
248 ** -c|--context N Show N lines of context around each change,
249 ** with negative N meaning show all content. Only
250 ** meaningful in combination with --tcl or --tk.
@@ -253,11 +253,11 @@
253 ** information needed to display the changes to
254 ** FILE caused by the most recent merge. FILE must
255 ** be a pathname relative to the root of the check-out.
256 ** --tk Bring up a Tcl/Tk GUI that shows the changes
257 ** associated with the most recent merge.
258 **
259 */
260 void merge_info_cmd(void){
261 const char *zCnt;
262 const char *zTcl;
263 int bTk;
@@ -1207,11 +1207,11 @@
1207 ** of M and V is an empty file. In this case, merge conflict marks will be
1208 ** added to the file and user will be forced to take a decision.
1209 */
1210 db_prepare(&q,
1211 /* 0 1 2 3 4 5 6 7 8 */
1212 "SELECT ridm, idv, ridp, ridv, %z, fn, isexe, islinkv, islinkm,"
1213 /* 9 10 11 */
1214 " fnp, fnm, chnged"
1215 " FROM fv"
1216 " WHERE idv>0 AND idm>0"
1217 " AND ridm!=ridp AND (ridv!=ridp OR chnged)",
@@ -1292,11 +1292,11 @@
1292 zErrMsg = "cannot merge binary file";
1293 zType = "ERROR";
1294 }
1295 db_multi_exec(
1296 "INSERT INTO mergestat(op,fnp,ridp,fn,ridv,sz,fnm,ridm,fnr,nc,msg)"
1297 "VALUES(%Q,%Q,%d,%Q,iif(%d,%d,NULL),iif(%d,%lld,NULL),%Q,%d,"
1298 "%Q,%d,%Q)",
1299 /* op */ zType,
1300 /* fnp */ db_column_text(&q, 9),
1301 /* ridp */ ridp,
1302 /* fn */ zName,
1303

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button