Hi,

sorry for my late response but i started with combining the whjol repos 
into on single repo.

We use AD Integration, but this doesnt give me a structure to work with and 
see which projects are in which country or department.


But now i have an additional Problem during using svnrdump load:

I backed up all my repos with svnadmin dump, which worked great. I got for 
every repo a .dmp file.

But now, after using svnrdump load to put the repo into the single one, i 
got an error after loading half of the repos: 


D:\backsvn>svnrdump load https://svn/xxxx/xxxx/xxxx/xxxx-xxx<
 xx-xxx.dmp
Failed to get lock on destination repos, currently held by 'xx:3823aeb3-6
05a-c240-b195-dfee836a3fd0'
Failed to get lock on destination repos, currently held by 'xx:3823aeb3-6
05a-c240-b195-dfee836a3fd0'
Failed to get lock on destination repos, currently held by 'xx:3823aeb3-6
05a-c240-b195-dfee836a3fd0'
Failed to get lock on destination repos, currently held by 'xx:3823aeb3-6
05a-c240-b195-dfee836a3fd0'
Failed to get lock on destination repos, currently held by 'xx:3823aeb3-6
05a-c240-b195-dfee836a3fd0'
Failed to get lock on destination repos, currently held by 'xx:3823aeb3-6
05a-c240-b195-dfee836a3fd0'
Failed to get lock on destination repos, currently held by 'xx:3823aeb3-6
05a-c240-b195-dfee836a3fd0'


After googling i only got the solution to remove the lock on rev 0, but 
this will not work: 

D:\backsvn>svn propdel svn:sync-lock --revprop -r HEAD  https://svn/xxx/xx
-xxx/
property 'svn:sync-lock' deleted from repository revision 922

D:\backsvn>svn propdel svn:sync-lock --revprop -r 0  https://svn/xxx/xx-xx
xxxx/
property 'svn:sync-lock' deleted from repository revision 0

D:\backsvn>svnrdump load https://svn/xxxx/xxxx/xxxx/xxxx-xxx<
 xx-xxx.dmp
Failed to get lock on destination repos, currently held by 'xx:3823aeb3-6
05a-c240-b195-dfee836a3fd0'


I hope you help.

Thanks in advanced.

Am Montag, 7. November 2016 15:31:59 UTC+1 schrieb pavel.lyalyakin:
>
> Hello,
>
> On Thu, Nov 3, 2016 at 10:06 PM, <freiw...@gmail.com <javascript:>> wrote:
>
>> Hi,
>>
>> yes, as you said in first place, i want to combine multiple repositories 
>> into one repository.
>>
>>
>> The goal is to create a structure (Country, City, Dep. etc.) for me to 
>> give admins permissions on different levels so that they can create a new 
>> project and giving other people permissions within theire department.
>>
>
> Have you considered to automate access rules management and assign 
> permissions to Active Directory group accounts? This could help you avoid 
> combining the repositories.
>
> VisualSVN Server fully supports path-based authorization and you could 
> manage access rules for AD user and group accounts on per-folder and 
> per-file levels. 
>
> VisualSVN Server PowerShell includes that cmdlets that should help you 
> automate 
> the access rules management. The cmdlets that you may find helpful are `
> Add-SvnAccessRule`, `Get-SvnAccessRule`, `Select-SvnAccessRule`, `Set-
> SvnAccessRule` and `Remove-SvnAccessRule`. For more information about the 
> PowerShell cmdlets, please read the article KB88: VisualSVN Server 
> PowerShell Cmdlet Reference 
> <https://www.visualsvn.com/support/topic/00088/>. 
>  
>
>> I couldnt find a smarter way than combining the current repos into a 
>> single repository which is predefined. For example: 
>>
>>
>>    - France
>>       - Paris
>>          - IT
>>             - Project 1
>>             - Project 2
>>          - Dev
>>             - Project 1
>>          - Lyon
>>          - IT
>>             - Project 1
>>             - Project 2
>>          - Dev
>>             - Project 1
>>          
>>
>>
>> and another repo for another country and so on...
>> I dont think this is how you use svn but i couldnt think of another way. 
>> Now, there is for every project one repository. 
>>
>
> Generally speaking, it is technically possible to combine the repositories 
> into one monolithic repo by using `svnadmin dump` and `svnadmin load` 
> <https://www.visualsvn.com/support/svnbook/reposadmin/maint/#svn.reposadmin.maint.migrate>
>  
> and loading dump files one by one into a single repository. That's not an 
> easy task and it also has side-effects. Since you want this just to improve 
> the access rules management process, I wouldn't recommend to follow that 
> approach.
>
> Note that by combining multiple repositories into one, you will change the 
> revision numbers for your projects and I guess that your users want to 
> avoid this.
>
>
>> Am Donnerstag, 3. November 2016 10:20:20 UTC+1 schrieb pavel.lyalyakin:
>>>
>>> Hello,
>>>
>>> On Thu, Nov 3, 2016 at 11:21 AM, freiwilly <freiw...@gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> does somebody know if its possible to change, on the server, the 
>>>> repositorys? 
>>>>
>>>> For example: 
>>>>
>>>> Now there is for every project one repository, but i want to change the 
>>>> structure and have one repository where all the projects have a folder 
>>>> under the repository.
>>>>
>>>> Something like: 
>>>>
>>>> svn relocate http://svn.de/project1  http://svn.de/allprojects/project1
>>>>  
>>>> also i want to keep the revisions and all that. So checkout and checkin 
>>>> is not a option.
>>>>
>>>> I have full acess to all repos and the server. 
>>>>
>>>> Is this possible? 
>>>>
>>>> Thanks in advanced
>>>>
>>>> At the moment I'm not sure what exactly you are asking about. Do you 
>>> want to combine multiple repositories into one monolithic repository? Could 
>>> you please elaborate?
>>>
>>> What about just changing the repository URL prefix from / or /svn to 
>>> /allprojects?
>>>
>>> Starting with VisualSVN Server 3.5, it is possible to remove '/svn' 
>>> prefix in a repository URL, specify a custom URL prefix such as 
>>> '/repos' or keep the default prefix intact. In order to customize the 
>>> URL prefix, follow these steps:
>>>
>>>    1. Start VisualSVN Server Manager.
>>>    2. Go to *Action | Properties*.
>>>    3. Select *Network *tab.
>>>    4. Select *Customize* under Repositories URL:
>>>
>>> You can select "Empty URL prefix" option to remove the "/svn" prefix 
>>> completely or select "Custom URL prefix" and specify the prefix you'd 
>>> like to use in the URL (for example, "repos").
>>>
>>> --
>>> With best regards,
>>> Pavel Lyalyakin
>>> VisualSVN Team
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "VisualSVN" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to visualsvn+...@googlegroups.com <javascript:>.
>> To post to this group, send email to visu...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/visualsvn.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> With best regards,
> Pavel Lyalyakin
> VisualSVN Team
>

-- 
You received this message because you are subscribed to the Google Groups 
"VisualSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to visualsvn+unsubscr...@googlegroups.com.
To post to this group, send email to visualsvn@googlegroups.com.
Visit this group at https://groups.google.com/group/visualsvn.
For more options, visit https://groups.google.com/d/optout.

Reply via email to