On Wed, Dec 09, 2009 at 10:40:21PM +0800, Michael Richter wrote: > 2009/12/9 Wilson, Ronald <[1]rwils...@harris.com> > > > 2) This is a bit wooly, but sometimes I'd like to be able to do > > something like: > > � � � fossil rm <file_name>.* > > ... when these files don't exists on disk, because I've deleted > them > > already. So I want some way to do a delete glob on what fossil has > in > > its repo, not what is on disk. > I think the fossil team tries not to reproduce in fossil what can be > done in the shell. � I'm not a *nix guy so most of that is arcane to > me > because I don't use cygwin enough; but I think all three of your > enhancements are trivial to do in the shell. > > I highlighted the key point that renders the "shell" bit a little > moot.� ;) > > References > > 1. mailto:rwils...@harris.com
____________________________________________________________________ I find myself having removed files sometimes for which I have not yet done 'fossil rm'. I do not have any missing files right now so I cannot double check the following, but I think this is what works for me in those situations (GNU/Linux) ... $ for arg in $( fossil ls | egrep "^MISSING" | awk '{print $2}' ) ; do fossil rm ${arg} ; done I usually run 'echo fossil rm ${arg}' first just to make sure it looks good before I commit to the 'fossil rm'. 'fossil changes' probably works as well as the 'fossil ls' ~Michael
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users