On Nov 18, 2016, at 12:50 PM, arnoldemu <mem...@arnoldemu.freeserve.co.uk> 
wrote:
> 
> So I am confused. If I can add recursive, why can't I do a revert recursive?

Someone Has To Do It.

But also, there are subtleties here.  For example, from within a Fossil source 
code checkout:

  fossil rm --hard www/build-icons/linux.gif
  fossil revert www

That won’t discover the missing linux.gif file simply by using the same logic 
as the current recursive add, because it isn’t there any more.  To make *that* 
work, Fossil would have to look at its own list of stored files instead, and 
realize that you’re asking it to recurse under the www “directory” it’s stored. 
 But of course, Fossil doesn’t store directories, so now you’re asking it to do 
a bunch of file path parsing.

All entirely doable, but not trivial.

_______________________________________________
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