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

Hooks: How to extract SOURCE URL in post or pre-commit script

From: David \ <kavika_at_xilinx.com>
Date: 2005-09-07 01:13:49 CEST

Hi there!
I would like to add a hook script the checks whether a uses is trying to
copy sub directories in between modules / projects and
prohibits the same.
So, assuming I have this repository structure:
repos
    product1
          trunk
             ....
           branches
          tags
    product2
          trunk
             ....
          branches
          tags
    buildsystem
          trunk
             ....
          branches
          tags

Now I would like to prohibit a user trying this:
svn copy http://myserver/repos/product1/trunk/src
http://mysferver/repos/product2/trunk/source

The problem is that I don't see a way of extracting the information of
the source URL with any svnlook command.

Any help would be greatly appreciated.

Thanks!
Kavika

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 7 01:15:32 2005

This is an archived mail posted to the Subversion Users mailing list.