[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Deduce the server URL from the current directory inside the working copy

From: Anton Shepelev <anton.txt_at_gmail.com>
Date: Thu, 21 Dec 2017 20:27:32 +0300

I wrote to Daniel Widenfalk:

>>>I find it mildly annoying to type the full path
>>>within a repository for server-side file opera-
>>>tions, such as 'delete' and 'copy'. Observe
>>>that, being on Windows, I must use quotes in or-
>>>der to escape the caret character:
>>> svn rm "^/A/B/C/file.txt"
>>>Is there a way to avoid the entry of the full
>>>path when invoking this command from A/B/C/ in a
>>>working copy? In other words, I should like to
>>>have some syntax that told SVN to use the full
>>>sever-side path of a file using the current di-
>>>rectory within a working copy. For example, in-
>>>stead of writing:
>>> svn rm "^/A/B/C/file.txt"
>>>I could:
>>> cd Work/A/B/C
>>> svn rm "^^file.txt"
>>Could you explain why you'd want to do a server-
>>side operation on something which is locally ac-
>>cessible? I.e. why not do?
>>$ cd A/B/C
>>$ svn rm file.txt
>>$ svn commit -m "Another fancy message"
>To save time and HDD load, easier to simplify the
>use of server-side 'svn info' e.g. to view lock in-
>formation, &c. 'svn ls' kind of does it already...

I think it would be a natural extension of the caren

Please, do not forward replies to the list to my e-mail.
Received on 2017-12-21 18:27:48 CET

This is an archived mail posted to the Subversion Users mailing list.