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

Re: Defining branch life-cycles in subversion

From: Greg Dickie <greg_at_max-t.com>
Date: 2002-11-08 17:00:09 CET

On November 8, 2002 10:45 am, Ben Collins-Sussman wrote:
> Greg Dickie <greg@max-t.com> writes:
> > Well it just doesn't make much sense to me I guess. If I want to
> > know what state a branch is in for example ( working,
> > ready_for_review, rejected,approved ) where would I look for that? I
> > guess I could make it work but then I'd be carrying those properties
> > over on each subversion of the branch directory....
>
> I can't tell if you really understand how branches work in subversion
> or not. If you haven't already, be sure to read the Book's chapter on
> branches, or the Design document section on the filesystem. It sounds
> like regular versioned properties are exactly what you want.
>
> If you attach a normal versioned property to a branch (which is just
> an ordinary directory), then it will automatically persist from
> revision to revision. People can come along and change the value of
> the property whenever they want. Your workflow system can query the
> property to know the 'workflow status' of the branch directory. Seems
> pretty simple.

I an new to subversion but I think I understand branches and I did read the
book. They are just copies of the trunk directory with subsequent
modifications correct?

My problem with what what you suggest is that it seems like overkill. I need a
perty onthe overall branch, not every version of the branch. If I wanted to
know what state a particular branch was in would I just do "propget status -r
HEAD http://svn.dodo.da/repos/mm/branches/greg-work3" ?

thanks,
Greg

-- 
Greg Dickie
just a guy
Maximum Throughput
greg@max-t.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 8 17:01:16 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.