Re: [fossil-users] How can I sync with a directory on each commit?

2011-10-27 Thread Kevin Ar18
What about addremove? It won't do the commit, but might get you closer still. Doh, i thought addremove was a hypothetical command, but it really exists. >From my first post: > I tried a number of commands that I thought might do this (like addremove), but could never seem to get it to do wha

Re: [fossil-users] How can I sync with a directory on each commit?

2011-10-27 Thread Stephan Beal
On Thu, Oct 27, 2011 at 1:23 PM, Kevin Greiner wrote: > fossil changes | grep ^MISSING | sed "s/^MISSING *//" | xargs2 /addquotes > fossil rm > Tiny hint: sed '/^MISSING/d' is ever so slightly better (arguably!) for this case, since it does not introduce empty lines (which xargs will just ignor

Re: [fossil-users] How can I sync with a directory on each commit?

2011-10-27 Thread Kevin Greiner
On Wed, Oct 26, 2011 at 3:33 PM, Kevin Ar18 wrote: Basically, I could never get it to work right. So, it seems maybe I just > didn't understand things correctly and it should work? If so, then I should > give it a try again then and see if I can. :) > Note: must leave, so probably won't reply b

Re: [fossil-users] How can I sync with a directory on each commit?

2011-10-27 Thread Gilles
On Wed, 26 Oct 2011 15:00:01 -0400, Kevin Ar18 wrote: >Instead of having to manually add or remove files, I would like to be able to >automatically sync all changes. >Basically, the workflow might be like this: >* Have a single directory with all files in version control >* Have a command that au

Re: [fossil-users] How can I sync with a directory on each commit?

2011-10-26 Thread Mike Meyer
On Wed, Oct 26, 2011 at 12:28 PM, Kevin Ar18 wrote: > Perhaps I should explain more about it?  At this stage, I am mostly using > the VCS to backup and keep track of a single directory structure.  (Of > course I may use it for other purposes.)  Point is, it would be really > difficult to have to t

Re: [fossil-users] How can I sync with a directory on each commit?

2011-10-26 Thread Kevin Ar18
On Wed, Oct 26, 2011 at 9:20 PM, Nolan Darilek wrote: What about addremove? It won't do the commit, but might get you closer still. Doh, i thought addremove was a hypothetical command, but it really exists. >From my first post: > I tried a number of commands that I thought mig

Re: [fossil-users] How can I sync with a directory on each commit?

2011-10-26 Thread Kevin Ar18
* Have a command that automatically finds deleted files, new files, or modified files, etc... and then commits them as a new commit. See fossil extra. It won't do all of that, but it will show you "new" files - those which are not yet added to your repo. * Possibly maintain a list of "ex

Re: [fossil-users] How can I sync with a directory on each commit?

2011-10-26 Thread Stephan Beal
On Wed, Oct 26, 2011 at 9:20 PM, Nolan Darilek wrote: > What about addremove? It won't do the commit, but might get you closer > still. > Doh, i thought addremove was a hypothetical command, but it really exists. stephan@tiny ~/tmp $ f help addremove Usage: f addremove ?OPTIONS? Do all necessa

Re: [fossil-users] How can I sync with a directory on each commit?

2011-10-26 Thread Nolan Darilek
On 10/26/2011 02:06 PM, Stephan Beal wrote: On Wed, Oct 26, 2011 at 9:00 PM, Kevin Ar18 > wrote: * Have a command that automatically finds deleted files, new files, or modified files, etc... and then commits them as a new commit. See fossil extra. It w

Re: [fossil-users] How can I sync with a directory on each commit?

2011-10-26 Thread Stephan Beal
On Wed, Oct 26, 2011 at 9:00 PM, Kevin Ar18 wrote: > * Have a command that automatically finds deleted files, new files, or > modified files, etc... and then commits them as a new commit. > See fossil extra. It won't do all of that, but it will show you "new" files - those which are not yet adde

[fossil-users] How can I sync with a directory on each commit?

2011-10-26 Thread Kevin Ar18
I don't know if this is possible or if I just don't know how to do it. Instead of having to manually add or remove files, I would like to be able to automatically sync all changes. Basically, the workflow might be like this: * Have a single directory with all files in version control * Have a c