How do I determine if a directory is part of a Subversion working copy?

2024-09-24 Thread Vincent Lefevre
How do I determine if a directory is part of a Subversion working copy? This is the same question as on https://stackoverflow.com/questions/7172334/how-do-i-determine-if-a-directory-is-part-of-a-subversion-working-copy but all the answers there except mine are incorrect. The issue is that on

Re: How do I determine if a directory is part of a Subversion working copy?

2024-09-24 Thread Yasuhito FUTATSUKI
Hello, On 2024/09/25 9:17, Vincent Lefevre wrote: > Checking the error message might not be future-proof. Then, check the error code instead. e.g. with Python bindings: [[[ import sys from svn import core, client def is_path_within_wc(path): ret = True try: client.get_wc_root(

Re: How to delete fiiles on the server that were accidentally part of an import?

2024-09-24 Thread Bo Berglund
On Tue, 24 Sep 2024 06:42:15 +, "Lorenz via users" wrote: >Bo Berglund wrote: > >>I used the following command to import a folder with files into Subversion >>without having to create a checked out copy of the new server side folder. >>All of this on a single line in Windows cmd: >> >> >>svn

Re: How to delete fiiles on the server that were accidentally part of an import?

2024-09-24 Thread Daniel Sahlberg
Den tis 24 sep. 2024 kl 09:30 skrev Bo Berglund : > Here the URL delete command is described as follows: > > $ svn delete -m "Deleting file 'yourfile'" \ > file:///var/svn/repos/test/yourfile > > And that did not make sense to me because file: is NOT in my view an URL > and > also bec