Overview
Artifact ID: | 56c1df26c34a7fce484a90ff2764629f7a030cf1 |
---|---|
Ticket: | 5e624dbfca4c3735394a9fc88a35f93460926b95
branch doesn't obey clearsign setting |
User & Date: | anonymous 2010-04-07 18:04:09 |
Changes
- Appended to comment:
<hr><i>anonymous added on 2010-04-07 18:04:09:</i><br> It seems like the preferred/expected way to create a branch is by specifying --branch on the checkin command. Still, this command is here, and it should work the right way (or be removed altogether). Here's a 1-line patch for this: <verbatim> Index: src/branch.c =================================================================== --- src/branch.c +++ src/branch.c @@ -53,10 +53,11 @@ 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; + if( db_get_boolean("clearsign", 0)==0 ){ noSign = 1; } /* fossil branch new name */ zBranch = g.argv[3]; if( zBranch==0 || zBranch[0]==0 ){ fossil_panic("branch name cannot be empty"); </verbatim>
- resolution changed to: "Open"