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

Re: query on svn copy

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Tue, 21 Oct 2008 13:12:46 -0500

On Oct 21, 2008, at 07:50, N D wrote:

> But the manual says:
> WC -> URL
>
> Immediately commit a copy of WC to URL.
>
> I am using the above flavour of the svn copy operation: svn copy WC
> URL
> If this a commit of a WC to the URL, how can this be a server side
> operation?
>
> My commands are somthing like
> 1. svn mkdir : make a directory of a desired tag name
> 2 svn copy WC URL to that tag.
>
> Should I do a add operation before I do the svn copy? If yes, how
> do i search for all the ? marked items. what I want is: dump the WC
> to the tag name as in 1, 2.

Yes, you would need to "svn add" them if you want them to go into the
repository.

You can search for items whose status is "?" by piping the output of
"svn st" to any of the text processing tools at your disposal
provided by your operating system, such as grep, sed or awk on Unix-
like operating systems, e.g.

svn st | awk '/^?/ {print $2}'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-21 20:13:08 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.