On Tue, Jan 08, 2013 at 03:55:05PM +0100, Gilles wrote: > On Tue, 8 Jan 2013 15:50:10 +0100, Joerg Sonnenberger > <jo...@britannica.bec.de> wrote: > > >On Tue, Jan 08, 2013 at 02:59:10PM +0100, Gilles wrote: > >> How do we cancel the result of "add", ie. tell Fossil to *not* add > >> such and such new file the next time the user runs "fossil commit"? > > > >fossil revert. Arguably, it is a bug that fossil rm doesn't work. > > Thanks but unless I'm mistaken, "revert" replaces the current files in > the work directory with the corresponding last revision in the repo. > > I just want to tell Fossil to remove a file I added through "add" by > mistake, so that it's no longer listed when I type "fossil changes".
fossil up foo fossil add bar Undo: fossil revert bar Joerg _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users