After thinking about it some more, I suspect that the answer is this: What
files are in a directory is *not* "the contents of the directory". Whether
a particular file is in a particular directory is controlled by the
existence/non-existence of the file within the revision that is applicable
to the *file*. The information about the directory that is connected to
*its* revision are its permissions (I think), and above all, its properties.
Thus, committing a file addition is not a change to the containing
directory -- it is only a change to the pathname of the file. Thus, the
containing directory need not be up-to-date. But I suspect that if you
wanted to commit a propchange to the directory, it would have to be
up-to-date.
Dale
-----Original Message-----
From: Niels Skou Olsen [mailto:nso@manbw.dk]
I would be interested in knowing _why_ the commit semantics of directories
and files need to differ. I'm sure there are good reasons. Can anyone here
explain the ideas behind this, or point me to a document or mailing list
thread that covers this?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 16 23:24:40 2004