OK, I am once again trying to get ignore patterns to work the way I expect them to.
The way I am experimenting with this is that I am maintaining the list of ignores in a file called ~/ignores, and for each iteration of my test I am doing: cat ~/ignores | fsvs ignore load fsvs status | less I've also had a great deal of success with "fsvs -d status" to get more insight into what fsvs is doing. At this point I have got fsvs to do pretty much exactly what I want! It's very exciting. With that said, I am currently having two problems. First problem. It looks as though "take" patterns -- maybe "ignore" patterns as well -- only do a prefix comparison. For example, I have the following ignores: t./etc/X11/xorg.conf ./etc/X11/* This does almost what I want, but it actually takes both /etc/X11/xorg.conf and /etc/X11/xorg.conf.ORIG, which is counted as a match for the take pattern. It seems as though the file name comparison should be a full comparison match, with shell globbing applied, rather than a prefix match. Second problem. I have a directory /opt/apache that contains a full apache httpd install. The only thing I want to back up is /opt/apache/conf/httpd.conf. I don't want anything else from /opt to be versioned. The only way I seem to be able to get this to work is to have the following ignores: t./opt/apache/conf/httpd.conf ./opt/apache/conf/* t./opt/apache/conf ./opt/apache/* t./opt/apache ./opt/* If anything is different, including the order of these lines, I get the wrong results. It seems like it would be much more natural to do this: t./opt/apache/conf/httpd.conf ./opt In other words, "take file /opt/apache/conf/httpd.conf, and ignore the rest of /opt". But this doesn't work -- I think this is because fsvs doesn't consider anything under ./opt (including ./opt/apache) as it's doing a recursive descent of the directory tree. Would it be reasonable to expect fsvs to check for the existence of "take" pattern files irrespective of the ignore-status of their parent directories? -- Brett Neumeier ([EMAIL PROTECTED]) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
