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

Re: SVN Copy Question...

From: BRM <bm_witness_at_yahoo.com>
Date: Mon, 29 Dec 2008 06:20:27 -0800 (PST)

But I don't want to install a separate package for something that should be a native command option.

There is no reason why it should have to two separate commands, so long as the option is available - even if it provides a confirmation warning during the process (probably should). But it should be a native part of the SVN package, not relayed to a secondary tool set, which even though svnmucc is part of the SVN source tree I would argue it is still a secondary tool since it is not part of the standard installation, nor is it provided by the CollabNet SVN Windows Installer - so no luck here unless I go build my own copy of SVN.

Yes, I could script it, but there is no reason I should have to when a simple command-line option for the standard 'svn copy/move' operation would suffice. Why should everyone have to script something that is a standard file operation? (e.g. 'cp/copy/mv' will prompt to overwrite a file, not force you to delete the file first. I realize SVN is a versioning system, but this should still be a single operation for the user, even if the tool performs the single operation as two separate operations internally.)

Ben

----- Original Message ----
From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
To: BRM <bm_witness_at_yahoo.com>
Cc: users_at_subversion.tigris.org
Sent: Friday, December 26, 2008 4:23:45 PM
Subject: Re: SVN Copy Question...

On Dec 26, 2008, at 09:02, BRM wrote:

> Ok, but is there a single command that does both operations so I
> don't have to do it in two steps? I'd really like to just do it in
> one step.

You can issue a single svnmucc command, but you will have to pass
svnmucc the two subcommands you want to do (remove the one thing,
copy the other thing). They are separate Subversion operations.

> If not, I think it would make a great feature to add an option to
> the move/copy to be able to make it do it in one step (example: --
> remove-file-first, --overwrite, --force).

You can probably write a small script to do this for you if you plan
to do it often and don't want to keep typing two commands each time.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-29 15:21:23 CET

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.