--- Karl Fogel <kfogel@newton.ch.collab.net> wrote:
> > upon creation of LABEL. The problem is that both
> > LABEL and branch look alike to Subversion but they
> > should be treated differently by the post-commit
> hook.
>
> They don't need to look alike to the post-commit
> hook, though; they
> have different paths :-).
I'm sorry if I wasn't clear on this. Both the names
"branch" and "LABEL" are chosen by the user. So,
somehow, the user will have to convey whether they are
creating a "branch" or a tag.
> > Maybe for now I'll just use naming conventions?
>
> Yes, I think so.
Another thought I had was to wrap the svn client
(creating "branch" and "label" commands). All the
"label" command will do is the typical "svn cp". The
"branch" command, OTOH, will also create HEAD and 0
branch revision label. I was hoping I could do this
within the hook so that it'll all happen within the
same transaction, but since the post-commit hook isn't
in the same transaction anyway, ...
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 01:14:24 2002