Fossil

Check-in [8b6cf431fb]
Login

Check-in [8b6cf431fb]

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

Overview
Comment:correct 'branch' subcommand usage string
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8b6cf431fb80c456f0ecdb8624513731408dd11e
User & Date: bch 2009-01-24 23:40:41.000
Context
2009-01-25
16:00
Update the file format documentation. ... (check-in: c664695186 user: drh tags: trunk)
2009-01-24
23:40
correct 'branch' subcommand usage string ... (check-in: 8b6cf431fb user: bch tags: trunk)
15:47
Prevent check-ins against a closed leaf. Add the --branch and --bgcolor options to the "ci" and "commit" commands. ... (check-in: 4ac75b9107 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/branch.c.
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  Manifest mParent;      /* Parsed parent manifest */
  Blob mcksum;           /* Self-checksum on the manifest */
 
  noSign = find_option("nosign","",0)!=0;
  zColor = find_option("bgcolor","c",1);
  verify_all_options();
  if( g.argc<5 ){
    usage("branch new BRANCH-NAME BASE-CHECK-IN ?-bgcolor COLOR?");
  }
  db_find_and_open_repository(1);  
  noSign = db_get_int("omitsign", 0)|noSign;
  
  /* fossil branch new name */
  zBranch = g.argv[3];
  if( zBranch==0 || zBranch[0]==0 ){







|







47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  Manifest mParent;      /* Parsed parent manifest */
  Blob mcksum;           /* Self-checksum on the manifest */
 
  noSign = find_option("nosign","",0)!=0;
  zColor = find_option("bgcolor","c",1);
  verify_all_options();
  if( g.argc<5 ){
    usage("new BRANCH-NAME BASE-CHECK-IN ?-bgcolor COLOR?");
  }
  db_find_and_open_repository(1);  
  noSign = db_get_int("omitsign", 0)|noSign;
  
  /* fossil branch new name */
  zBranch = g.argv[3];
  if( zBranch==0 || zBranch[0]==0 ){