Hello Maurice,
please forgive the long delay - I've been on vacation.
On Monday 07 July 2008 Maurice van der Pot wrote:
> I just started using fsvs and I have a few questions about ignoring
> files.
>
> If I'm not mistaken the ignore list is something specific to a working
> copy; it is not versioned itself. I was wondering why this is, because
> it seems useful to me to have the ignore list under version control
> (like svn:ignore).
Well, "svn:ignore" is defined to be per-directory - which is very impractical
if you're versioning several hundred thousand items spread over big
hierarchies, and you want to ignore "*.bak" everywhere.
That's why FSVS doesn't use this property.
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/182f153bd94803955c2043e6f2581d5d/Ign")
> Furthermore I noticed that ignore patterns are always added literally,
> regardless of where you add them. So if I am in a deep subdirectory
> somewhere, I cannot just type "fsvs ignore ./somefile" to ignore a file
> in that directory; I will have to type the entire path from the root of
> my working copy. Imho it would be useful to perform ignores relative to
> the current directory, would it not?
Yes, you're right.
Did you try this:
fsvs ignore $PWD/somefile
I guess I'll have to document that - it's not mentioned anywhere yet.
> P.S.: I had to make two changes before I was able to build fsvs on my
> system. I attached a patch containing them.
Thank you, I'll take a look.
Is that for Gentoo? I'd thought that FSVS was already available as a package
there, isn't it?
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]