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

Re: Unexplicable errors on checkout...

From: <cmpilato_at_collab.net>
Date: 2001-10-24 17:22:58 CEST

"Sander Striker" <striker@apache.org> writes:

> Oh, a little nag: why are we seeing properties checked out as
> an update to the checked out directory? Can't we merge that?
> I was a bit confused seeing _U on a directory that I saw earlier
> come by with A.

It's an ordering thing. From the checkout editor's point of view, it
sees:

   add-directory foo
      add-file foo/bar
      close-file foo/bar
      add-file foo/baz
         file-prop name value // this a property on foo/baz
      close-file foo/baz
      dir-prop name value // this is a property on foo
   close-directory foo

Now, for files, we wait until the close-file to output the addition of
that file. Of course, at that point we know whether or not the file
had any properties come down with it.

For directories, we *could* wait until the close-directory to do the
printing, but the output would look a little silly:

   A foo/bar
   A foo/baz
   A foo // what? you added the directory AFTER adding files in it!?

I don't know what the right solution is, short of trying to change the
order in which the editor is driven, and frankly I don't care enough
about this admitted annoyance to try to rearrange ra_dav's checkout code.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:45 2006

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

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