Index: src/info.c ================================================================== --- src/info.c +++ src/info.c @@ -3171,6 +3171,9 @@ if( zNewBranch && zNewBranch[0] ) change_branch(rid,zNewBranch); apply_newtags(&ctrl, rid, zUuid, zUserOvrd, fDryRun); if( fDryRun==0 ){ show_common_info(rid, "uuid:", 1, 0); } + if( g.localOpen ){ + manifest_to_disk(rid); + } } Index: src/tag.c ================================================================== --- src/tag.c +++ src/tag.c @@ -359,11 +359,13 @@ }else{ nrid = content_put(&ctrl); manifest_crosslink(nrid, &ctrl, MC_PERMIT_HOOKS); } assert( blob_is_reset(&ctrl) ); - manifest_to_disk(rid); + if( g.localOpen ){ + manifest_to_disk(rid); + } } /* ** COMMAND: tag ** @@ -633,14 +635,14 @@ char *zUuid; int dryRun = 0; const char *zDateOvrd; /* The change time on the control artifact */ const char *zUserOvrd; /* The user name on the control artifact */ - db_must_be_within_tree(); if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN; zDateOvrd = find_option("date-override",0,1); zUserOvrd = find_option("user-override",0,1); + db_find_and_open_repository(0, 0); verify_all_options(); if( g.argc<4 ){ usage("[OPTIONS] CHECK-IN PARENT ..."); } rid = name_to_typed_rid(g.argv[2], "ci");