Fossil

Check-in [448dc5adf7]
Login

Check-in [448dc5adf7]

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

Overview
Comment:Fix the "branch new" command so that it works if the parent omits the R-card. Ticket [3bfff6e03bcc5f14]
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 448dc5adf75e5ea88b2fcf7eece5f443ddd9c784
User & Date: drh 2011-03-16 02:31:40.898
Context
2011-03-16
02:38
Make sure the accesslog table exists before attempting to use it. Ticket [7b55fd2958d8d] ... (check-in: c7de5f7b6e user: drh tags: trunk)
02:31
Fix the "branch new" command so that it works if the parent omits the R-card. Ticket [3bfff6e03bcc5f14] ... (check-in: 448dc5adf7 user: drh tags: trunk)
02:28
Make "fossil stash" and "fossil stash save" work the same. Ticket [58290cd2975f5f2] ... (check-in: 18575b14ac user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/branch.c.
97
98
99
100
101
102
103

104

105
106
107
108
109
110
111
        blob_appendf(&branch, " %s", pParent->aFile[i].zPerm);
      }
    }
    blob_append(&branch, "\n", 1);
  }
  zUuid = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", rootid);
  blob_appendf(&branch, "P %s\n", zUuid);

  blob_appendf(&branch, "R %s\n", pParent->zRepoCksum);

  manifest_destroy(pParent);

  /* Add the symbolic branch name and the "branch" tag to identify
  ** this as a new branch */
  if( zColor!=0 ){
    blob_appendf(&branch, "T *bgcolor * %F\n", zColor);
  }







>
|
>







97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
        blob_appendf(&branch, " %s", pParent->aFile[i].zPerm);
      }
    }
    blob_append(&branch, "\n", 1);
  }
  zUuid = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", rootid);
  blob_appendf(&branch, "P %s\n", zUuid);
  if( pParent->zRepoCksum ){
    blob_appendf(&branch, "R %s\n", pParent->zRepoCksum);
  }
  manifest_destroy(pParent);

  /* Add the symbolic branch name and the "branch" tag to identify
  ** this as a new branch */
  if( zColor!=0 ){
    blob_appendf(&branch, "T *bgcolor * %F\n", zColor);
  }