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

Re: Is this a bug or a feature?

From: Radomir Zoltowski <radomir.zoltowski_at_s3group.com>
Date: Tue, 14 Jul 2009 16:56:33 +0100

My €0.02

The question is if svn copy should mimic the old good cp or follow newer
tools, like rsync. Until svn copy is actually named "copy", I would vote
for the old behaviour as it is now. It would be rather difficult to
explain (to the old dogs?) why svn copy breaks tens of years of POSIX
routine, regardless of whether it is perfect or not.

BTW, I recently plunged into rsync's EXCLUDE PATTERNS. This one is
really good.

R.

Stefan Sperling wrote:
> On Tue, Jul 14, 2009 at 10:32:14AM -0500, Ryan Schmidt wrote:
>
>> On Jul 14, 2009, at 07:35, Les Mikesell wrote:
>>
>>
>>> Rsync probably has the handiest syntax, using a trailing / to
>>> control what happens to the target.
>>>
>> Gosh, to me, rsync's use of the trailing slash in this way is the
>> single most confusing thing I think I've encountered on the command
>> line.
>>
>
> FreeBSD's cp does it, too, and it confused me as well :)
>
> -R If source_file designates a directory, cp copies the directory and
> the entire subtree connected at that point. If the source_file
> ends in a /, the contents of the directory are copied rather than
> the directory itself.
>
> Does not play nice with auto-completion of some shells (where directories
> often get a slash appended by default).
>
> Stefan
>
>

The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s).
Please direct any additional queries to: communications_at_s3group.com.
Thank You.
Silicon and Software Systems Limited. Registered in Ireland no. 378073.
Registered Office: South County Business Park, Leopardstown, Dublin 18

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2371267

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-14 17:58:24 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.