Overview
Artifact ID: | e7c03e841f5fcb03dde916a6281450c28e9b5d5d |
---|---|
Ticket: | 5751755d47d959f5b1d55761abd4308d8b8ea9bb
Initial check-in isn't usable |
User & Date: | anonymous 2010-06-23 07:00:09 |
Changes
- comment changed to:
I want to handle vendor branches in a reasonable manner. I'm trying to do the following: commit vendor version into branch and merge the result onto trunk. Initial steps: $ mkdir /tmp/bug; cd /tmp/bug $ fossil new bug project-id: a4f5ac4cd49798bac13036300ab62f021b7f5388 server-id: d9e3d87cd655de7631396980dc753002ede0316c admin-user: asau (initial password is "ea9c71") $ mkdir test; cd test; fossil open ../bug $ fossil timeline === 2010-06-23 === 06:42:52 [cef303f2f8] *CURRENT* initial empty check-in (user: asau tags: trunk) Let's try to import vendor version and merge it onto trunk: $ :> test $ fossil add test ADDED test $ fossil ci --branch vendor-version -m "Import vendor version." New_Version: 3ae4f0043b0d330d828d3712961ae9027f33ea61 $ fossil close $ rm -f * $ fossil open ../bug trunk fossil: object [cef303f2f8] is not a check-in ??? $ fossil merge vendor-version fossil: lack both primary and secondary files ??? It doesn't work, somehow "initial check-in" is too special to be a "check-in". Work around is to create another empty check-in: $ fossil ci -f -m "Commit empty changes to work around." New_Version: 43da68d6ed8fd95d9728801a2ede65f0090d5e61 $ fossil timeline === 2010-06-23 === 06:45:09 [43da68d6ed] *CURRENT* Commit empty changes to work around. (user: asau tags: trunk) 06:43:56 [3ae4f0043b] Import vendor version. (user: asau tags: vendor-version) 06:42:52 [cef303f2f8] *BRANCH* initial empty check-in (user: asau tags: trunk) $ fossil merge vendor-version ADDED test $ fossil ci -m "Merge vendor version." New_Version: 5ea37a73c292159210ba89de2315ea202f9afb9d $ fossil close It would be nice not to require this workaround.
- foundin changed to: "3343450e64"
- private_contact changed to: "77d1fb9b8673fda6e5de8f02a6ad22d96857b3e1"
- severity changed to: "Important"
- status changed to: "Open"
- title changed to: "Initial check-in isn't usable"
- type changed to: "Code_Defect"