Re: [fossil-users] how to revert everything
Hi, You can also use fossil ui to move the error commits to a new branch and close the leaf of that new branch. I am not sure if you need to move each commits or only the ancestor to the new branch. Regards, AlexS On Tue, Mar 22, 2011 at 1:04 AM, Bill Burdick bill.burd...@gmail.comwrote: 1. Use fossil ui to find the id for the commit you want (you can use the 10 digit id in the timeline) 2. To use that commit - You can make a branch off of the commit id and check out the branch - You can checkout that commit directly, but the next time you commit a change, you'll get a warning that you're making a fork. I'm not totally sure on Fossil's philosophy about this; use fossil commit -f to force a fork Bill Burdick On Mon, Mar 21, 2011 at 11:05 PM, Christian Pekeler christ...@pekeler.org wrote: My last three revisions consists of several folder renames, file renames, file creations, and file deletions. It was a mistake and I want to go back to 4 revisions ago. How can I do this? revert -r doesn't allow me to simply specify the root folder. Thanks, Christian ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- AlexS ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] how to revert everything
On Mar 22, 2011, at 8:51, Alexandre Sénéchal wrote: You can also use fossil ui to move the error commits to a new branch and close the leaf of that new branch. I am not sure if you need to move each commits or only the ancestor to the new branch. Wow, that was not intuitive or easy for me (coming from svn). But looking at the timeline now, I do like the result. Moving just the ancestor (first error commit) automatically moved all later commits. Then I also had to update my local workarea specifically to the latest good revision. I would have expected a simple 'fossil update' to automatically go back to the new leaf of my current branch. Thank you Bill and and Alexandre! Christian ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] how to revert everything
My last three revisions consists of several folder renames, file renames, file creations, and file deletions. It was a mistake and I want to go back to 4 revisions ago. How can I do this? revert -r doesn't allow me to simply specify the root folder. Thanks, Christian ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] how to revert everything
1. Use fossil ui to find the id for the commit you want (you can use the 10 digit id in the timeline) 2. To use that commit - You can make a branch off of the commit id and check out the branch - You can checkout that commit directly, but the next time you commit a change, you'll get a warning that you're making a fork. I'm not totally sure on Fossil's philosophy about this; use fossil commit -f to force a fork Bill Burdick On Mon, Mar 21, 2011 at 11:05 PM, Christian Pekeler christ...@pekeler.orgwrote: My last three revisions consists of several folder renames, file renames, file creations, and file deletions. It was a mistake and I want to go back to 4 revisions ago. How can I do this? revert -r doesn't allow me to simply specify the root folder. Thanks, Christian ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users