Michael <[email protected]> wrote: > > 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' >
One thing that we need to remember is that Fossil is cross platform and that means, in our case, Windows, which has an inferior shell. Aside from that, I wouldn't want to make someone learn awk just so they can use our SCM system. There are many tricks that can be done but none should really be required for a daily task. Jeremy _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

