Fossil SCM

For the 'tag' command, omit updating the "manifest" files without an open check-out, as reported here: [https://fossil-scm.org/forum/forumpost/dc06c157e5].

florian 2019-02-07 17:34 trunk
Commit f97700680a2223e6f844e94d90376528ca1ab305b0a21a45a885dd6c3e4896b7
1 file changed +3 -1
+3 -1
--- src/tag.c
+++ src/tag.c
@@ -359,11 +359,13 @@
359359
}else{
360360
nrid = content_put(&ctrl);
361361
manifest_crosslink(nrid, &ctrl, MC_PERMIT_HOOKS);
362362
}
363363
assert( blob_is_reset(&ctrl) );
364
- manifest_to_disk(rid);
364
+ if( g.localOpen ){
365
+ manifest_to_disk(rid);
366
+ }
365367
}
366368
367369
/*
368370
** COMMAND: tag
369371
**
370372
--- src/tag.c
+++ src/tag.c
@@ -359,11 +359,13 @@
359 }else{
360 nrid = content_put(&ctrl);
361 manifest_crosslink(nrid, &ctrl, MC_PERMIT_HOOKS);
362 }
363 assert( blob_is_reset(&ctrl) );
364 manifest_to_disk(rid);
 
 
365 }
366
367 /*
368 ** COMMAND: tag
369 **
370
--- src/tag.c
+++ src/tag.c
@@ -359,11 +359,13 @@
359 }else{
360 nrid = content_put(&ctrl);
361 manifest_crosslink(nrid, &ctrl, MC_PERMIT_HOOKS);
362 }
363 assert( blob_is_reset(&ctrl) );
364 if( g.localOpen ){
365 manifest_to_disk(rid);
366 }
367 }
368
369 /*
370 ** COMMAND: tag
371 **
372

Keyboard Shortcuts

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