On Saturday 12 July 2008 Maurice van der Pot wrote:
> On Sat, Jul 12, 2008 at 02:35:32PM +0200, Philipp Marek wrote:
> > 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.
> Ok, I originally just assumed you would have used svn properties
> (svn:fsvs-ignore or whatever) for all metadata.
Only where it works.

As the ignore list can easily be several KB I didn't want to put it in a 
property - they should be kept small.

> > 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")
>
> Ok, I will do that.  I was hesitant to add fsvs' directory to version
> control. It kinda felt like doing svn add .svn ;-)
Well - the things that shouldn't be versioned are in $FSVS_WAA 
(/var/spool/fsvs), and are automatically ignored.

So it's more like versioning ~/.subversion :-)


> > > 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've put my homedir under version control as a normal user. I'm guessing
> this will not only issue a warning, but will also not work if I check
> out to a different base directory (for instance if my username is
> different on another host).
Yes, that's right.
I'll have to think about some way to distinguish a general "based on WC-root" 
pattern from "starts here" - possibly by looking whether that path exists 
*only* in the CWD but not in the WC, and *doesn't* start with "./" - else it 
wouldn't be clear what the user wants.
"./" is defined to be used from the WC root - which, looking back, might be a 
bit unfortunate. Maybe I'll have to change that.

> > > 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?
>
> Not unless they got creative and changed the name.
> I only just noticed an ebuild has been submitted to bugzilla
> (http://bugs.gentoo.org/show_bug.cgi?id=193989), but it's not part of
> portage yet.
I'll take a look what's useful. Thank you!


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