Fossil

Check-in [d8a588ba]
Login

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

Overview
Comment:Check for "clearsign" option in "fossil branch" command. Reported by J. van den Hoff.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d8a588ba765ae5be70af310967f32f01381c19f0
User & Date: jan.nijtmans 2014-01-24 12:37:50.546
References
2014-02-14
11:01
Cherrypick [d8a588ba765ae5be]: Check for "clearsign" option in "fossil branch" command. Reported by J. van den Hoff. ... (check-in: 21904cec user: jan.nijtmans tags: branch-1.28)
Context
2014-02-14
11:01
Cherrypick [d8a588ba765ae5be]: Check for "clearsign" option in "fossil branch" command. Reported by J. van den Hoff. ... (check-in: 21904cec user: jan.nijtmans tags: branch-1.28)
2014-01-25
16:20
Merged vdiff-subdir feature branch into root. ... (check-in: 9b1932f0 user: stephan tags: trunk)
2014-01-24
12:37
Check for "clearsign" option in "fossil branch" command. Reported by J. van den Hoff. ... (check-in: d8a588ba user: jan.nijtmans tags: trunk)
10:04
Eliminate two unneeded type-casts and a compiler warning (signed<>unsigned compare) ... (check-in: 17f7b650 user: jan.nijtmans tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/branch.c.
49
50
51
52
53
54
55
56

57
58
59
60
61
62
63
  zDateOvrd = find_option("date-override",0,1);
  zUserOvrd = find_option("user-override",0,1);
  verify_all_options();
  if( g.argc<5 ){
    usage("new BRANCH-NAME BASIS ?OPTIONS?");
  }
  db_find_and_open_repository(0, 0);
  noSign = db_get_int("omitsign", 0)|noSign;


  /* fossil branch new name */
  zBranch = g.argv[3];
  if( zBranch==0 || zBranch[0]==0 ){
    fossil_fatal("branch name cannot be empty");
  }
  if( db_exists(







|
>







49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
  zDateOvrd = find_option("date-override",0,1);
  zUserOvrd = find_option("user-override",0,1);
  verify_all_options();
  if( g.argc<5 ){
    usage("new BRANCH-NAME BASIS ?OPTIONS?");
  }
  db_find_and_open_repository(0, 0);
  noSign = db_get_boolean("omitsign", 0)|noSign;
  if( db_get_boolean("clearsign", 0)==0 ){ noSign = 1; }

  /* fossil branch new name */
  zBranch = g.argv[3];
  if( zBranch==0 || zBranch[0]==0 ){
    fossil_fatal("branch name cannot be empty");
  }
  if( db_exists(