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

Re: bug? Directory version doesn't update on commit

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2003-11-06 05:16:56 CET

There could be an optmization which I also planned in svk. After the
commit is done, we check if there's other changes between the revision
of the parent directory and the new revision. If not, we could simply
make the while directory single revision.

This is likely the case if the repository is only accessed by a single
person, and would decrease the need for constructing mixed-revision
trasaction root for further operations.

Cheers,
CLK

On Thu, 2003-11-06 at 04:37, Ben Collins-Sussman wrote:
> It's not a bug. Remember that directories are versioned objects just
> like files. The directory wasn't committed, because it had no changes.
> Some of its children were ocmmitted, though. Ergo, the children are now
> at HEAD revision, but the parent directory is not. You have a
> mixed-revision working copy, which is pretty common. "svn update"
> brings the whole working copy to a single revision.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 6 05:17:47 2003

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