On 8/15/12 12:21 PM, Nick Zalutskiy wrote:

Ideally I'd like to revert that commit somehow and do two smaller commits thereafter. Since there is no rewriting history in fossil, I assume that this would involve doing a new commit that is "the opposite" of the incorrect one, and then replying the changes one a time.

How would I do this?


I don't know the "right" answer, but having done this myself, this is what I do: edit the commit comment to better describe the "small fix" and then call the checkin of all of the other stuff as a "checkpoint" as part of building that other feature. I am paranoid and frequently do "checkpoint" checkins of a branch (typically trunk) even if the code is not yet properly working. I just want to capture the state of the world before anything bad happens. It's also a good way to get the stuff off of my local machine (in addition to the near real-time backups that are also happening, of course).

--
michael at barrow dot me
+1.408.782.4249

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to