Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-22 Thread Ron Aaron
OK, I've come up with a small bash script to get an 'id' which I can use to detect changes in a repo. Save the following to fossilid and make it executable: if [ ! -f $1 ] then echo fossilid needs the name of the repository to 'id' exit 1 fi configsha=`fossil config export all -R $2 - |

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-22 Thread Ron Aaron
Sorry, the $2 needs to be a $1 -- that was a finger-flub on my part On 03/22/2012 09:13 AM, Ron Aaron wrote: OK, I've come up with a small bash script to get an 'id' which I can use to detect changes in a repo. Save the following to fossilid and make it executable: if [ ! -f $1 ] then

[fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread Ron Aaron
I've got a bunch of Fossil repositories which I back up by doing: fossil pull fossil config pull all I am now also encrypting the repos after backing up, and putting the encrypted files on Ubuntu One for off-site failsafe backup. The problem I am trying to solve is that I do NOT want to

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread Stephan Beal
You can place the fsl files directly in your ubuntu1 folder (or dropbox, or whatever) and serve them from there. - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal On Mar 21, 2012 5:02 PM, Ron Aaron r...@ronware.org wrote: I've got a bunch of Fossil repositories

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread Ron Aaron
Certainly I could, but that means that my fsl files are put there as-is, and I want them encrypted before putting up there. It also means that the fsl files will always be synched, even if nothing actually changes, which is what I want to avoid. On 03/21/2012 06:32 PM, Stephan Beal wrote: You

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread Leo Razoumov
On Wed, Mar 21, 2012 at 13:25, Stephan Beal sgb...@googlemail.com wrote: i don't know about Ubuntu1, but dropbox synchronizes only the bytes which changed, so the sync is really fast. There is, however, still a couple caveats with this approach (sorry for my brevity earlier - i was on my

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread Leo Razoumov
On Wed, Mar 21, 2012 at 14:53, Ron Aaron r...@ronware.org wrote: On 03/21/2012 08:06 PM, Leo Razoumov wrote: True, but does not help if your file is encrypted. You change a single byte of your plain-text-file and your encrypted version changes entirely. Precisely so.  And I don't want to

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread Ron Aaron
On 03/21/2012 09:18 PM, Leo Razoumov wrote: Poor man's way of figuring it out is to capture the output from fossil pull (or fossil push) command, parse it and if all numbers of transfered artifacts and deltas are zero than nothing changed. That will not work in this case, because I do not do

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread Leo Razoumov
On Wed, Mar 21, 2012 at 17:17, Stephan Beal sgb...@googlemail.com wrote: On Wed, Mar 21, 2012 at 8:40 PM, Ron Aaron r...@ronware.org wrote: So what I am looking for is a way to take a 'snapshot' of a repo, and determine if the new version of that repo is actually different, even though I may

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread altufaltu
Any changes in configuration will not show-up in timeline. - Original Message - From: Leo Razoumov Sent: 03/22/12 02:54 AM To: Fossil SCM user's discussion Subject: Re: [fossil-users] How can I determine if a repository has actually changed? On Wed, Mar 21, 2012 at 17:17