[fossil-users] Add/commit from script?

2011-05-25 Thread Gilles
Hello I'd like to write a script that the user can call that will... 1. Check if the document has already been added to the repository, and add it if not 2. Commit changes That way, the user won't have to call two commands. I was thinking of reading the output from fossil.exe ls, followed by

Re: [fossil-users] Add/commit from script?

2011-05-25 Thread Joshua Paine
On 5/25/2011 6:07 PM, Gilles wrote: 1. Check if the document has already been added to the repository, and add it if not 2. Commit changes You can just add it every time. Adding a file that's already in the repo is a no-op. -- Joshua Paine LetterBlock: Web Applications Built With Joy

Re: [fossil-users] Add/commit from script?

2011-05-25 Thread Gilles
On Wed, 25 May 2011 18:09:03 -0400, Joshua Paine jos...@letterblock.com wrote: You can just add it every time. Adding a file that's already in the repo is a no-op. Good to know. Thank you. ___ fossil-users mailing list