--- Peter Davis <peter@pdavis.cx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wednesday 09 October 2002 06:29, Noel Yap wrote:
> > 4. Each checkin onto main will create a sequential
> > revision number tag (eg /.svn-repo/p0/main/0,
> > /.svn-repo/p0/main/1, ...)
> > 5. A symbolic label may be created to point to any
> of
> > main's revisions
>
> I take it this symbolic revision number will not be
> directly tied to the real
> svn rev number?
Yes, that's right, each branch will get its own
sequence of revision numbers.
> That's not a bad idea, but it's
> just a little more work than
> I'd want to do upon every commit. Maybe a
> post-commit script would work.
That's exactly what I had in mind. I know post-commit
triggers existed in subversion but I'm not familiar
enough with the details to know if it can do what I
want it to do. Here're my questions (if the answers
are in the docs, you don't have to bother wasting
bandwidth, I'll just go over them again when I have a
chance):
1. Will there be any locking issues when trying to
create the per-branch revision?
2. Related to question 1, does the post-commit trigger
execute within the same transaction as the actual
commit?
3. Will the post-commit trigger execute all commands
that I may care about (eg mkdir, import)?
Also, I still need to think about an efficient way to
figure out the next per-branch revision number. Maybe
I can make it or the current LATEST revision an
attribute (oops, I mean property ;-) of the branch?
> Some contrived example: let me know if I got this
> right ("rX" is Subversion
> rev number):
>
> /p0
> /main
> /0 -> r1
> /1 -> r3
> /b0
> /0 -> r4
> /LATEST -> r4
> /2 -> r5
> /LATEST ->r5
Yup, this is what I had in mind, but, what happened to
r2?
To be more verbose, a checkout of main would be:
svn co http://server/svn/repos/p0/main/LATEST p0
and a checkout of b0 would be:
svn co http://server/svn/repos/p0/main/b0/LATEST p0
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 Wed Oct 9 20:14:09 2002