Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Subversion server questions

  • 10-08-2009 10:24pm
    #1
    Posts: 0


    Hi All,

    I have set up subversion and access to it is via WebDAV. The OS is Ubuntu 8.04 server.

    I created the repo with svnadmin create at /usr/local/svn/repo and then places my project in there. I created branches, tags and trunk and then did an svn import to bring them in. This all works fine.

    I can do everything that is expected via the web interface but one thing is puzzling me. When I go to the actual repo location at /usr/local/svn/repo/project/trunk I see no files even though I can see them when browsing the repository via the web interface.

    There are files corresponding to the revisions in the repo:
    barry@<server>:/usr/local/svn/repo/db/revs$ ls -l
    total 92
    -rw-r--r-- 1 www-data www-data   115 Aug  4 17:13 0
    -rw-r--r-- 1 www-data www-data 51506 Aug  4 22:53 1
    -rw-r--r-- 1 www-data www-data   198 Aug  4 22:57 2
    -rw-r--r-- 1 www-data www-data   862 Aug  4 23:00 3
    -rw-r--r-- 1 www-data www-data  4260 Aug  5 13:08 4
    -rw-r--r-- 1 www-data www-data  1545 Aug  5 13:22 5
    -rw-r--r-- 1 www-data www-data  1889 Aug  5 13:31 6
    -rw-r--r-- 1 www-data www-data  1330 Aug  5 13:35 7
    -rw-r--r-- 1 www-data www-data   890 Aug 10 21:55 8
    

    The config in apache is:
    <Location /svn>
      DAV svn
      SVNPath /usr/local/svn/repo
      AuthType Basic
      AuthName "SVN"
      AuthUserFile /etc/subversion/passwd
      Require valid-user
    </Location>
    

    The authentication is working fine when I browse or commit and the repo itself has the same owner / group as the user the webserver is running with.

    Am I missing some face palmingly obvious or something else? Many thanks for any help.


Comments

  • Registered Users, Registered Users 2 Posts: 354 ✭✭AndrewMc


    That's just how it works :)

    All the contents of an FSFS repository are stored in those numbered files. It doesn't store a full copy of each version of each file one-by-one, but each numbered file contains the changes made in that commit. When you checkout a file, it works through the changesets (it has some shortcuts, obviously!) and builds the latest copy of the file. The only way to navigate a repository is to either checkout specific versions, or use something like svnshell.


  • Posts: 0 [Deleted User]


    Thanks AndrewMc :). I "discovered" svn list last night and found out that it shows me what is there too. I just couldn't help feeling I had done something wrong but thanks for clearing it up.


Advertisement