Fossil

Changes On Branch tag-cmd-manifest-updates
Login

Changes On Branch tag-cmd-manifest-updates

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch tag-cmd-manifest-updates Excluding Merge-Ins

This is equivalent to a diff from c56fce69 to 3580fce8

2019-02-18
22:37
Fix the handling of manifest files for the "tag" and "amend" commands. ... (check-in: 5e20a4f7 user: drh tags: trunk)
2019-02-08
13:28
Update the built-in SQLite to version 3.27.1. ... (check-in: cf6682b1 user: drh tags: trunk)
2019-02-07
17:42
Allow arguments with non-ASCII characters for constructed shell commands, as reported here: https://fossil-scm.org/forum/forumpost/81e6854386. ... (Closed-Leaf check-in: a5ff0050 user: florian tags: non-ascii-cmd-args)
17:39
Backout [6e80af7e52], as this branch enables the 'reparent' command to work without an open check-out. ... (Closed-Leaf check-in: 3580fce8 user: florian tags: tag-cmd-manifest-updates)
17:37
For the 'amend' command, enable updating the "manifest" files with an open check-out. ... (check-in: 05c1e3b9 user: florian tags: tag-cmd-manifest-updates)
17:34
For the 'tag' command, omit updating the "manifest" files without an open check-out, as reported here: https://fossil-scm.org/forum/forumpost/dc06c157e5. ... (check-in: f9770068 user: florian tags: tag-cmd-manifest-updates)
17:18
Update the built-in SQLite to the official 3.27.0 release version. ... (check-in: c56fce69 user: drh tags: trunk)
00:01
Several improvements to the discussion of building against OpenSSL in www/ssl.wiki. ... (check-in: 48b74fce user: wyoung tags: trunk)
2019-01-04
07:54
For the 'reparent' command, make sure there's an open check-out (otherwise it will fail). ... (check-in: 6e80af7e user: florian tags: misc-little-things)

Changes to src/info.c.

3169
3170
3171
3172
3173
3174
3175



3176
  if( fHide && !fHasHidden ) hide_branch();
  if( fClose && !fHasClosed ) close_leaf(rid);
  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);
  }



}







>
>
>

3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
  if( fHide && !fHasHidden ) hide_branch();
  if( fClose && !fHasClosed ) close_leaf(rid);
  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);
  }
}

Changes to src/tag.c.

357
358
359
360
361
362
363

364

365
366
367
368
369
370
371
    fossil_print("%s", blob_str(&ctrl));
    blob_reset(&ctrl);
  }else{
    nrid = content_put(&ctrl);
    manifest_crosslink(nrid, &ctrl, MC_PERMIT_HOOKS);
  }
  assert( blob_is_reset(&ctrl) );

  manifest_to_disk(rid);

}

/*
** COMMAND: tag
**
** Usage: %fossil tag SUBCOMMAND ...
**







>
|
>







357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
    fossil_print("%s", blob_str(&ctrl));
    blob_reset(&ctrl);
  }else{
    nrid = content_put(&ctrl);
    manifest_crosslink(nrid, &ctrl, MC_PERMIT_HOOKS);
  }
  assert( blob_is_reset(&ctrl) );
  if( g.localOpen ){
    manifest_to_disk(rid);
  }
}

/*
** COMMAND: tag
**
** Usage: %fossil tag SUBCOMMAND ...
**
631
632
633
634
635
636
637
638
639
640
641

642
643
644
645
646
647
648
  int i;
  Blob value;
  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);

  verify_all_options();
  if( g.argc<4 ){
    usage("[OPTIONS] CHECK-IN PARENT ...");
  }
  rid = name_to_typed_rid(g.argv[2], "ci");
  blob_init(&value, 0, 0);
  for(i=3; i<g.argc; i++){







<



>







633
634
635
636
637
638
639

640
641
642
643
644
645
646
647
648
649
650
  int i;
  Blob value;
  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 */


  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");
  blob_init(&value, 0, 0);
  for(i=3; i<g.argc; i++){