Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Using fsvs as UID 0

fsvs
Discussion topic

Back to topic list

Re: Using fsvs as UID 0

Author pmarek
Full name P.Marek
Date 2007-03-07 23:01:18 PST
Message >> Bug:
Should have been "But" - nomen est omen.

>> $ fsvs st -C -C
>> should report it (doing a checksum), and
>> $ fsvs commit -C -C
>> too.
>>
> yep... -C -C was my *workaround*...
>
> but... on *big* directory (5095 files/dirs) I get Bus error when using
> -C -C (without... it works as expected...):
Oh no, please say it don't ;-/

> fsvs ci -m "<snip>" -C -C -d
...
> Program received signal SIGBUS, Bus error.
> [Switching to Thread -1208153728 (LWP 10517)]
> 0x0804b040 in cs___end_of_block ()
> (gdb) bt
> #0 0x0804b040 in cs___end_of_block ()
> #1 0x0804bed7 in cs__compare_file ()
> #2 0x0804fec1 in ops__update_single_entry ()
Could you tell me which code line that is?


>> So, BTW ... why does your fsvs give no MD5 of that file?
> Hmmm... probably because info was applied on the directory "." ("fsvs
> info" without any path)... not on test.txt...
Yes, sorry. It's been too late.

>> And now to your point - should fsvs on a sync-repos *always* check the
>> local
>> files for identity? (Doing a MD5?) Would be slow.
> I would expect any synchronization function (probably only used when
> things go wrong...) to set the wc ready to be use as *business as
> usual*... and not having to care about using additional arguments on
> subsequent commands to be sure it's the case. A quick fix (?) could be
> to have something like:
>
> fsvs sync-repos [-r rev] [-C [-C]]

> So the user can decide between speed and the checksum peace of mind...
>> Should it do that always on status? Probably not.
> I agree. Status needs no change.
>> But you're right, in that it could see the differing mtime, and say
>> "possibly
>> changed" - as it does with other files.
>>
>> How's r726 for you?
> Better. But [-C [-C]] on sync-repos would be perfect! ;-)
Hmmm... I'll get back to you on that, IIDF. I'd like to think a bit about
that.


Regards,

Phil


--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

« Previous message in topic | 17 of 30 | Next message in topic »

Messages

Show all messages in topic

Using fsvs as UID 0 pmarek P.Marek 2007-02-28 23:10:27 PST
     Re: Using fsvs as UID 0 benjaminm Benjamin M. 2007-03-01 07:31:21 PST
         Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-02 08:28:56 PST
             Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-03 02:31:43 PST
                 Re: Using fsvs as UID 0 benjaminm Benjamin M. 2007-03-03 13:35:48 PST
                     Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-04 07:06:02 PST
                         Re: Using fsvs as UID 0 benjaminm Benjamin M. 2007-03-04 09:27:15 PST
                             Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-04 09:38:30 PST
                                 Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-04 10:32:16 PST
                                     Re: Using fsvs as UID 0 benjaminm Benjamin M. 2007-03-04 10:46:00 PST
                                         Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-05 08:57:04 PST
                                         Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-05 09:04:43 PST
                                             Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-06 23:50:33 PST
                                                 Re: Using fsvs as UID 0 benjaminm Benjamin M. 2007-03-07 06:44:08 PST
                                                     Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-07 11:22:24 PST
                                                         Re: Using fsvs as UID 0 benjaminm Benjamin M. 2007-03-07 21:31:57 PST
                                                             Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-07 23:01:18 PST
                                                                 Re: Using fsvs as UID 0 benjaminm Benjamin M. 2007-03-08 13:59:07 PST
                                                                     Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-08 23:21:38 PST
                                                                         Re: Using fsvs as UID 0 benjaminm Benjamin M. 2007-03-09 07:59:16 PST
                                                                             Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-09 08:04:24 PST
                                                                                 Re: Using fsvs as UID 0 benjaminm Benjamin M. 2007-03-09 08:42:08 PST
                                                                                     Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-09 08:51:10 PST
                                                                                         Re: Using fsvs as UID 0 benjaminm Benjamin M. 2007-03-09 14:03:47 PST
                                                                                             Re: Using fsvs as UID 0 pmarek P.Marek 2007-03-09 23:35:14 PST
Page: of 2 « Previous | Next »
Messages per page: