Login | Register
My pages Projects Community openCollabNet

Discussions > users > Ignore pattern question (exclude all but a few folders)

fsvs
Discussion topic

Hide all messages in topic

All messages in topic

Re: Ignore pattern question (exclude all but a few folders)

Author pmarek
Full name P.Marek
Date 2009-11-22 23:44:47 PST
Message Hello Thomas!

> Hmm, I thought I had this figured out, but the solution eludes me.
>
> I have the following directories under /usr/share, but I only want to
> version "selinux" and "spamassassin".
>
> ...
> /usr/share/samba
> /usr/share/sane
> /usr/share/screen
> /usr/share/scrollkeeper
> /usr/share/selinux
> /usr/share/setools
> /usr/share/setroubleshoot
> /usr/share/sgml
> /usr/share/shorewall
> /usr/share/shorewall-perl
> ...
>
> I've tried a bunch of different take/ignore combinations, but fsvs won't
> pickup the folders under /usr/share as needing to be versioned.
>
> group:take,./usr/share
> group:take,./usr/share/selinux
> group:take,./usr/sha​re/spamassassin
> group:ignore,./usr/share/**

Just use
  group:take,./usr/share/selinux
  group:take,./usr/sha​re/spamassassin
  group:ignore,./usr/share/**

and provide the starting points via
  fsvs add /usr/share/selinux /usr/share/spamassassin


Regards,

Phil

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

Ignore pattern question (exclude all but a few folders)

Author Thomas Harold <thomas-lists at nybeta dot com>
Full name Thomas Harold <thomas-lists at nybeta dot com>
Date 2009-11-21 15:30:49 PST
Message Hmm, I thought I had this figured out, but the solution eludes me.

I have the following directories under /usr/share, but I only want to
version "selinux" and "spamassassin".

...
/usr/share/samba
/usr/share/sane
/usr/share/screen
/usr/share/scrollkeeper
/usr/share/selinux
/usr/share/setools
/usr/share/setroubleshoot
/usr/share/sgml
/usr/share/shorewall
/usr/share/shorewall-perl
...

I've tried a bunch of different take/ignore combinations, but fsvs won't
pickup the folders under /usr/share as needing to be versioned.

group:take,./usr/share
group:take,./usr/share/selinux
group:take,./usr/sha​re/spamassassin
group:ignore,./usr/share/**
Messages per page: