Re: [fossil-users] How to remove all deleted files at once?
On Thu, Sep 2, 2010 at 7:31 PM, Prithish wrote: > > Thanks Richard for the prompt reply. It would be great if an automated way > can be implemented into fossil. I switch between Windows and Linux quiet > often. Some of the neat linux commands don't have equivalent in Windows. > Here is the command I use on Windows XP. The grep and sed are merely win32 equivalents I found by googling and xargs2 is a batch file found here: http://blogs.msdn.com/b/matthew_van_eerde/archive/2008/11/25/xargs-start.aspx fossil changes | grep ^MISSING | sed "s/^MISSING *//" | xargs2 /addquotes fossil rm I use this every day as part of a scheduled task to pull all changes to a large number of text files on a shared network drive. It is reliable but slow and cpu-intensive. ___ 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 remove all deleted files at once?
Richard Hipp schrieb: (...) Sorry for being offtopic, but as I encountered it right now, I would like to ask, why do you (and others as well in similar situation) use a command line like this > fossil rm `fossil status | grep MISSING | awk '{print $2}'` instead of a simplified version like fossil rm `fossil status | awk '/MISSING/ {print $2}'` which is even less to type? Is this a habbit only or is there a really advantage behind? (...) Best regards, chi ___ 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 remove all deleted files at once?
> > On Thu, Sep 2, 2010 at 4:20 PM, Prit wrote: > > > Hi, > > > > Firstly, thank you for this great scm. I really love SQLite and have been > > using it on my blogging app - Pritlog. I recently started using fossil as > a > > repository for this app. One question I had is - how do I remove all the > > physically deleted files from the repository? I know that we can do this > one > > file at a time. But, is there a way to do it at once? In Git latest > version, > > I believe when we use --all, it takes care of this. > > > > fossil rm `fossil status | grep MISSING | awk '{print $2}'` > > I have never created an automatic way to remove from the repository all > files that have been physically removed from the check-out - mostly becomes > that is not something that I often do, and on the rare occasions when I do > something like that, a unix shell command such as the above is usually > sufficient. > > > > > Thanks for your help, > > Prit (http://pritlog.com) > > > > > -- > D. Richard Hipp > d...@sqlite.org > > Thanks Richard for the prompt reply. It would be great if an automated way can be implemented into fossil. I switch between Windows and Linux quiet often. Some of the neat linux commands don't have equivalent in Windows. Also, it might be easier for users to remember and use if there is a pre-built option. Anyway, whether this is added to fossil or not, I am a fan of this software and have already switched over to fossil for the pritlog software. Thanks for your help, Prit (http://pritlog.com) ___ 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 remove all deleted files at once?
On Thu, Sep 2, 2010 at 4:20 PM, Prit wrote: > Hi, > > Firstly, thank you for this great scm. I really love SQLite and have been > using it on my blogging app - Pritlog. I recently started using fossil as a > repository for this app. One question I had is - how do I remove all the > physically deleted files from the repository? I know that we can do this one > file at a time. But, is there a way to do it at once? In Git latest version, > I believe when we use --all, it takes care of this. > fossil rm `fossil status | grep MISSING | awk '{print $2}'` I have never created an automatic way to remove from the repository all files that have been physically removed from the check-out - mostly becomes that is not something that I often do, and on the rare occasions when I do something like that, a unix shell command such as the above is usually sufficient. > > Thanks for your help, > Prit (http://pritlog.com) > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > -- D. Richard Hipp d...@sqlite.org ___ 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 remove all deleted files at once?
Hi, Firstly, thank you for this great scm. I really love SQLite and have been using it on my blogging app - Pritlog. I recently started using fossil as a repository for this app. One question I had is - how do I remove all the physically deleted files from the repository? I know that we can do this one file at a time. But, is there a way to do it at once? In Git latest version, I believe when we use --all, it takes care of this. Thanks for your help, Prit (http://pritlog.com) ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users