On Sat, Jul 12, 2008 at 03:59:03PM +0200, Philipp Marek wrote:
> > >   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.

If I'm not mistaken there are only two types of ignore patterns:
relative ones (to the repository root) and absolute ones.

My guess is that the relative ones are used more often than the absolute
ones.

I think it would be very useful to be able to use all normal features in
specifying paths (variables such as ${HOME}, wildcards expanded by the
shell, the tab-key to complete a partial path, etc). 

This can be achieved by just prefixing absolute paths with a special 
character such as : or =, so tab completion and the like will still work.

I must admit I have not considered how this would interact with regular
expressions though.

My $0.02
 
Regards,
Maurice.

-- 
Maurice van der Pot

Gentoo Linux Developer   [EMAIL PROTECTED]    http://www.gentoo.org
Gnome Planner Developer  [EMAIL PROTECTED]  http://live.gnome.org/Planner

Attachment: pgp99lKE7YeLH.pgp
Description: PGP signature

Reply via email to