On May 30, Ben Collins-Sussman wrote:
> On May 30, 2005, at 7:24 PM, Eli Barzilay wrote:
> > I didn't see that in the `add' and `import' references, and also not
> > in the `svn:ignore' section -- am I looking in the wrong place?
> Are we reading the same thing? There's only one place in the book
> that documents svn:ignore:
Ugh, apparently I've managed to miss the mentions of `add' and
`import'. But there are still issues I have with that description,
which might be why I missed it:
1. Ignoring `global-ignores', I don't see how svn:ignore can affect
`add' and `import' -- first, `svn add foo.bar' will always work
even if there is a "*.bar" pattern in `svn:ignore', so for adding
files it makes no difference. Second, since the property applies
only for the directory it is on, then adding a whole directory will
work the same too (the directory is added no matter what its name
is, and sub-files are added since the directory is no so it has no
2. Same for `import'.
3. I'd expect that any such behavior would be documented in their
reference sections. (Which is where I searched after your previous
> > What I didn't realize, and couldn't find any docs for, is the fact
> > that no matter what you put in svn:ignore, it will not have any bad
> > effects on existing versioned files and future versioned stuff. (It
> > seems like a good behavior, and it seemed like this is the way svn
> > works -- I just couldn't find it documented explicitly.)
> Correct, it only affects how subversion treats unversioned things.
> But I'm not sure why we'd need to document that it has *no* effect
> on versioned things; the very first paragraph in svn:ignore docs
> "[...] it works in conjunction with the global-ignores run-time
> configuration option [...] to filter unversioned files and
> directories out of commands svn status, svn add, and svn import."
> ...and then goes on to talk only about unversioned things. After
> reading this section, were you left with doubts that it somehow
> endangered versioned objects?
Well, I certainly didn't expect things to vanish... What I didn't get
from just the documentation is the fact that (with a "*.bar" pattern)
something like "svn add foo.bar" will work. After trying it out I
know that it does work, but I now don't know how would the ignore
property ever affect `add'/`import'.
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Tue May 31 03:26:23 2005