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

Re: svn ln (Was: post-commit hook questions)

From: Noel Yap <yap_noel_at_yahoo.com>
Date: 2002-10-15 04:21:27 CEST

--- Colin Watson <cjwatson@flatline.org.uk> wrote:
> On Mon, Oct 14, 2002 at 03:49:38PM -0700, Noel Yap
> wrote:
> > If, for example, as someone had suggested earlier,
> a "svn ln" command
> > were created that can create hard links, then tags
> could be created
> > using "svn ln" while branches could be created
> using "svn cp". Not
> > only would the hard link be implicitly read only,
> but one would also
> > be able to tell the difference between branches
> and tags.
>
> 'svn ln' sounds entirely different to a tag to me. A
> hard link in the
> repository created using 'svn ln' ought to track the
> source of the link
> (otherwise you might as well just use 'svn cp'!),
> while a tag logically
> stays fixed forever at a particular version of its
> source.

I was thinking more that:
  svn ln -r 5 $SVNROOT/project/main/{HEAD,3}

would create $SVNROOT/project/main/3 as a hard link to
revision 5 of $SVNROOT/project/main/HEAD. Since
revision 5 cannot be modified, the hard link would
also be read only.

Noel

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 15 04:22:01 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.