[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: "svn commit" followed by "svn log" doesn't show new revision

From: Mark <mark_at_msdhub.com>
Date: 2004-11-17 00:09:24 CET

That's exactly my experience. Committing a file doesn't bump the revnum of
the containing directory, just the file.

Mark

-----Original Message-----
From: Dale Worley [mailto:dworley@pingtel.com]
Sent: Tuesday, November 16, 2004 3:24 PM
To: users@subversion.tigris.org
Subject: RE: "svn commit" followed by "svn log" doesn't show new revision

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 17 00:13:02 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.