Re: svn unlock all files locked by a specific user

2025-03-24 Thread Branko Čibej
On 19. 3. 25 19:10, Sean McBride wrote: Hi all, Is there an easy way to force unlock all files currently locked by a specific user? Consider an employee that leaves, and needing to then unlock anything she still had locked. You'll have to script it. You can use 'svn ls -R -v URL' to get the

Re: svn unlock all files locked by a specific user

2025-03-19 Thread Sean McBride
Thanks to you both. I ended up doing this on the server: ``` svnadmin lslocks /usr/local/repositories/reponame/ | grep -B3 "Owner: alice" | grep "Path: " | sed 's/^Path: \//svn unlock --force "/' | sed 's/$/"/' > ~/svnunlock.sh ``` then running that result on my own computer against my local

Re: svn unlock all files locked by a specific user

2025-03-19 Thread Andreas Stieger
On 2025-03-19 19:10, Sean McBride wrote: Is there an easy way to force unlock all files currently locked by a specific user? It's easy enough to get a full list: https://svnbook.red-bean.com/nightly/en/svn.advanced.locking.html#svn.advanced.locking.break-steal grep -B3 [...], grep, awk/cu