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

Re: Suggestion for special file storage in 1.0

From: Nuutti Kotivuori <naked_at_iki.fi>
Date: 2002-10-18 01:35:08 CEST

Barry Scott wrote:
> Another issue is what do you save as the contents of a symlink?
>
> If its relative then save its contents.
>
> If its absolute and points inside the working dir then you
> should store the fact that its relative to a point in the repo.
> This is hard to do as you might not have enough repo checked
> out to figure out that what its relative to.

The contents of the symlink are the path that it is pointing
to. Relative or absolute doesn't matter. It is not modified in any way
by the subversion client or repository - and it is allowed to be
dangling as well.

Yes, this means that a symlink to "../foo" will be relative to where
the working copy happens to be checked out to. And that's intentional.

> If I use a makefile these issues are trivia to solve.

A Makefile is not practical with updates, does not allow for automatic
storage of symlinks, has to be hooked in to create the symlinks, needs
to be duplicated wherever they are used - and so on.

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 18 01:36:17 2002

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.