linuxsvngrepvisualsvn-serversvn-hooks

svn subversion server list only repository (Takes To much time)


I have a problem with TIME when Im using svnlook tree /var/www/svn/TEST --full-paths| grep -E 'RV/13\.9\.4\.[0-9]+/$'

/var/www/svn/TEST -> is quite big project has many folder and files.

Explication: I listed only the repository that named like that RV/13.9.4.n/ to get this result

PROBLEM my command takes too long to be executed because it needs to fetch project tree

how can I avoid that to make it faster?

PS: something like svn list [repo_path] | grep '13\.9\.4\.[0-9]+'

Unfortunately, I can't use the command svn list in svn subversion machine server side (Hooks)


Solution

  • It is technically possible to run this command in your hooks, but I am not sure whether this will be faster than svnlook tree:

    svn list file:///var/www/svn/ILS | grep '13\.9\.4\.[0-9]+'
    

    Note the file:// protocol.