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

Re: "svn branch" and "svn label"

From: Noel Yap <yap_noel_at_yahoo.com>
Date: 2002-10-15 18:06:34 CEST

--- Philip Martin <philip@codematters.co.uk> wrote:
> Noel Yap <yap_noel@yahoo.com> writes:
>
> > I think I was unclear on what I had wanted to do.
> The
> > "svn:type" would be set only on the element (ie
> branch
> > or tag) being created. The operation would still
> be
> > O(1) (unless I'm misundestanding properties).
> >
> > IOW, "svn branch" would do the "svn cp", then "svn
> > propset". "svn label" would do the same thing
> with a
> > different value for "svn:type".
>
> svn tag http://foo.com/repo/trunk
> http://foo.com/repo/immutable
> svn mkdir http://foo.com/repo/immutable/foo/bar/baz
>
> If you don't set the "tag" property on
> immutable/foo/bar how are you
> going to detect this attempt to change it?

I hadn't considered this before.

Considering it now, I would have the hook check each
of the directories and parent directories being
changed.

How is tag protection being done now?

Thanks,
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 18:07:13 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.