Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: /etc/fsvs is modified only after the changes have been committed

fsvs
Discussion topic

Back to topic list

Re: /etc/fsvs is modified only after the changes have been committed

Author pmarek
Full name P.Marek
Date 2008-10-13 08:59:55 PDT
Message On Monday 13 October 2008 Farzad FARID wrote:
> OK it works only partially, because the mtime of the "/etc/fsvs" changes
> anyway, which leaves me with still one uncommitted change.. Thinking of it,
> this is strange, because there is one level of directory between
> "/etc/fsvs" and "Urls". I can't find why the mtime of this directory
> changes.
That's because the temporary "Urls" file is created there, and then moved to
its destionation.
Could/should be changed, perhaps.

I did that so that there'd be a limited number of places where temporary files
could be lying around, mostly for the WAA.

> > - Have some other idea :-)
> I'll think about it :)
Yes, please.

> > I briefly thought whether it would be good to have an option to ignore
> > the "Urls" file (like the WAA is ignored automatically), perhaps on
> > "status" only ...
> >
> > That would be another special case in the code ... but maybe the only
> > way, especially for the "stop_change" case ... maybe just implement that
> > there?
> If you ignore the Urls file on "status" only, then wouldn't 'fsvs commit -o
> empty_commit=no -m "cron" /etc' continue to commit the Urls file? It's not
> an error by itself, but the behaviour would seem incoherent to me.
I'd ignore only this file on status with stop_change set - so that exactly
your "if" in the shell wouldn't trigger.

It should be committed, I think - so that you can see which URLs you were
using, at which revisions. That might be necessary to rebuild the machine
exactly as it was.

> > Do you know C, and would like to send a patch?
>
> I think I'm too rusty with C coding to be of any help ;) But I'll have a
> look at the source code one of theses days anyway.
Fine - patches are welcome, even if it's just for typing mistakes.


Regards,

Phil


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

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

Messages

Show all messages in topic

/etc/fsvs is modified only after the changes have been committed farzy Farzad FARID 2008-10-13 06:21:41 PDT
     Re: /etc/fsvs is modified only after the changes have been committed pmarek P.Marek 2008-10-13 08:12:21 PDT
         Re: /etc/fsvs is modified only after the changes have been committed pmarek P.Marek 2008-10-13 08:28:48 PDT
         Re: /etc/fsvs is modified only after the changes have been committed farzy Farzad FARID 2008-10-13 08:48:39 PDT
             Re: /etc/fsvs is modified only after the changes have been committed pmarek P.Marek 2008-10-13 08:59:55 PDT
         Re: /etc/fsvs is modified only after the changes have been committed griffon26 Maurice van der Pot 2008-10-13 10:21:58 PDT
             Re: /etc/fsvs is modified only after the changes have been committed pmarek P.Marek 2008-10-13 11:04:19 PDT
         Re: /etc/fsvs is modified only after the changes have been committed Pieter Ennes <lists at spam dot ennes dot net> Pieter Ennes <lists at spam dot ennes dot net> 2008-10-20 14:10:39 PDT
             Re: /etc/fsvs is modified only after the changes have been committed pmarek P.Marek 2008-10-21 01:51:58 PDT
                 Re: /etc/fsvs is modified only after the changes have been committed pmarek P.Marek 2008-10-21 23:49:38 PDT
                 Re: /etc/fsvs is modified only after the changes have been committed farzy Farzad FARID 2008-10-22 01:22:10 PDT
                     Re: /etc/fsvs is modified only after the changes have been committed Pieter Ennes <lists at spam dot ennes dot net> Pieter Ennes <lists at spam dot ennes dot net> 2008-10-22 01:36:32 PDT
                         Re: /etc/fsvs is modified only after the changes have been committed pmarek P.Marek 2008-10-22 09:25:07 PDT
                 Re: /etc/fsvs is modified only after the changes have been committed griffon26 Maurice van der Pot 2008-10-22 09:36:52 PDT
                     Re: /etc/fsvs is modified only after the changes have been committed pmarek P.Marek 2008-10-22 10:11:40 PDT
                         Re: /etc/fsvs is modified only after the changes have been committed griffon26 Maurice van der Pot 2008-10-22 10:13:22 PDT
     RE: /etc/fsvs is modified only after the changes have been committed manolson Auriel Manolson 2009-04-16 16:18:20 PDT
Messages per page: