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

Re: svn commit: rev 1113 - trunk/subversion/include trunk/subversion/libsvn_ra_local trunk/subversion/libsvn_client trunk/subversion/clients/cmdline

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-01-31 14:27:55 CET

<cmpilato@collab.net> wrote:

> Hmm...I think your results (which are exciting to see!) differ from my
> expectations. If I have a directory named A/D/H and I ask that it be
> switched to some other URL, I still expect my directory to be named
> A/D/H, though it will have totally different children (perhaps) and of
> course differing ancestry.
>
> Of course, in the usual use-case for switch, I would have switched H
> to something else probably named H as well (like
> .../branches/werk/A/D/H), so this would be moot.
>
>
> What do others think about this?

I think the key issue here is how to view names of objects (files,
directories, symlinks); are they

A) a property (metadata if you like) of the object itself (as in for
   example AmigaOS)

or

B) a property of the parent directory (as in UNIX)

If we know which viewpoint to take here, the switch case is simple:
Switch replaces the metadata for the object A/D/H, but not for the
object A/D. So if the name "H" is a property of H, it should be
replaced. If it is a property of D, it should stay as it is.

  // Marcus

---------------------------------------------------------------------
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:37:01 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.