Hello Farzad!

On Monday 13 October 2008 Farzad FARID wrote:
> I'm having the following issue with FSFS 1.1.16 and the "/etc" directory
> I'm versionning: apparently, the "/etc/fsvs/xxxxxxx/Urls" file is modified
> *after* the "fsvs commit" command has finished.
Yes, this is per design.

> As a result, there are always 2 uncommitted change in my "/etc" folder ;)
...
> I'm a bit embarrassed, because I wanted to use a cron script to check for
> uncommitted changes, but 'fsvs commit -o empty_commit=no -m "cron" /etc',
> as specified in the fsvs-options manpage, would commit this same change
> over and over :)
>
> Is there an elegant solution to my problem, apart from ignoring
> "/etc/fsvs", which is a solution I don't really like?
Not yet. And if you ignored the whole directory, you wouldn't have the ignore 
patterns versioned anymore.

There are two ways for that problem:
- Just ignore the "Urls" files ("/etc/fsvs/*/Urls")
- Have some other idea :-)

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?

Do you have any other ideas?

Do you know C, and would like to send a patch?


Regards,

Phil


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to