Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Questions about ignoring files

fsvs
Discussion topic

Back to topic list

Re: Questions about ignoring files

Author pmarek
Full name P.Marek
Date 2008-07-15 06:51:10 PDT
Message Hello Maurice,

> On Sat, Jul 12, 2008 at 02:35:32PM +0200, Philipp Marek wrote:
>> And the ignore patterns are versioned - as soon as your $FSVS_CONF/$WC_DIR/Ign
>> file is versioned, too (for /etc as WC and default-config you'll get that
>> automatically - eg. "/etc/fsvs/182f153bd​94803955c2043e6f2581​d5d/Ign")
>
> Won't I have a problem if I check out someplace else?
> If I add $FSVS_CONF/$WC_DIR/Ign on host A and check out on host B, won't
> the Ign file be under the wrong $WC_DIR?
Yes, if $FSVS_CONF is different it won't match.

But do you use anything else than /etc/fsvs? Oh yes, you said you're versioning your
/home. Do you commit as user, or are these backups started per cron as root?
You could try to do "chown <user> /etc/fsvs/<wc-dir>", and use a per-user WAA.


> How can I version the ignore list in such a way that when I check out on
> a different machine the ignore list still works?
>
> The best way I can come up with now is to hard-link it to a location
> under the repository root and add that file to version control, although
> that will be a manual action that has to be repeated for each check-out.
I'd try to use a symlink rather than a hardlink.

I can't quite follow your setup or requirements - but might it be an idea to use a dummy
"ignore" file that has an update- and commit-pipe set, eg. to "cat $FSVS_CONF/xx/Ign"?


Regards,

Phil


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

« Previous message in topic | 10 of 20 | Next message in topic »

Messages

Show all messages in topic

Questions about ignoring files griffon26 Maurice van der Pot 2008-07-06 15:27:51 PDT
     Re: Questions about ignoring files pmarek P.Marek 2008-07-12 05:35:32 PDT
         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-12 05:55:44 PDT
             Re: Questions about ignoring files pmarek P.Marek 2008-07-12 06:59:03 PDT
                 Re: Questions about ignoring files pmarek P.Marek 2008-07-12 07:02:53 PDT
                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-13 11:21:28 PDT
                     Re: Questions about ignoring files pmarek P.Marek 2008-07-14 08:40:14 PDT
             Re: Questions about ignoring files Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-07-12 07:16:43 PDT
         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 05:20:28 PDT
             Re: Questions about ignoring files pmarek P.Marek 2008-07-15 06:51:10 PDT
                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 09:23:47 PDT
                     Re: Questions about ignoring files pmarek P.Marek 2008-07-15 11:16:40 PDT
                         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 14:07:06 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-15 22:17:07 PDT
                                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-17 03:58:04 PDT
                                     Re: Questions about ignoring files pmarek P.Marek 2008-07-17 04:13:38 PDT
                                         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-18 10:54:56 PDT
                                             Re: Questions about ignoring files [PATCH] pmarek P.Marek 2008-07-18 11:58:38 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-16 20:37:21 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-17 10:22:56 PDT
Messages per page: