On Oct 8, 2009, at 5:11 AM, Benjohn Barnes wrote: > Hi, > > A project I have has one branch – the trunk. I've been away from this > project for a few weeks, and on returning to it, I've decided that the > most recent commit (in which I switched over to using OpenGL for > rendering) is not something I want to pursue at the moment. I would > like to place this commit on to a branch that will effectively shelve > it for possible later use, and have the trunk grow out from the > version prior to the abortive openGL experiment. > > I tried to do this by executing: > > fossil branch new Time-OpenGL-Test <the OpenGL commit's artefact id> > > Here, the code is the commit of the openGL stuff. > > However, if I look at the fossil UI, it looks like the open GL commit > is still on the trunk, and that the branch I've created stems off from > this. This isn't what I'm hoping for, what I want is for the openGL > stuff to be pushed off the trunk.
This is easier to do from the web interface. (1) Bring up the web interface (by typing "fossil ui" from an open checkout) (2) On the timeline, locate the check-in that you want to become the first check-in of the new branch. Click on the SHA1-hash number for this check-in to take you to the detailed information page for that check-in. (By "detailed information page" I mean the page that looks like this one: http://www.fossil-scm.org/fossil/vinfo/6842999f824). (3) Click on the the "edit" link on the "Other Links" line at the bottom of "Overview". (4) On the "Edit Check-in" page, near the bottom is a "Branching:" line that lets you move this check-in to a new branch. Click the check-box to enable that feature and type in the branch name, then press "Apply Changes". > > My questions: > > Is there an easy way to retrospectively create a branch like I'm > trying to do? > Is there a less easy way to retrospectively create a branch like I'm > trying to do? > Can I fix up my current repository so that it branches as I'd like > (by manipulating the tags on artefacts, or something)? > > If I'm just being stupid here, and not thinking about stuff right, > then help would be welcome! > > Best regards, > Benjohn > > > > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users D. Richard Hipp [email protected] _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

