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

ClearCase-like repo structure

From: Noel Yap <yap_noel_at_yahoo.com>
Date: 2002-10-14 14:08:16 CEST

As some of you may know, I'm trying to get my repo to
look like:
$SVNROOT
  /project
    /main
      /HEAD (I feel HEAD is easier to type than
LATEST)
      /0
      /1
      /LABEL -> /1
      /branch
        /HEAD -> ../../1
        /0

In order to do this without burdening the users (and
creating a chance for mistakes), I'm trying to create
a post-commit script. I'm currently running into some
problems probably due to my inexperience with
Subversion. My questions are:
1. In order to create the branch revision tag in
constant time, I'd like to get/set a property on the
branch. However, the prop commands look like they
only work on working directories. Will this change in
the future? Is there another constant-time way of
doing what I'd like? For now, I'll probably do a "svn
ls" (which'll be linear time :-(
2. Does the post-commit hook occur inside or outside
the original transaction? If it occurs inside, will
it deadlock if I try to perform another commit inside
the post-commit script?
3. Part of the action of the script will have to
depend on whether a newly created item is a branch or
a tag. Currently, I see no way to differentiate the
two (unless I have the client set a property). Will
there be one in the future?

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 Mon Oct 14 14:09:00 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.