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

Re: svn cp (newbie question)

From: Clemens <clemens.hintze_at_thalesgroup.com>
Date: 2007-08-10 12:55:48 CEST

Hallo Michael,

Michael J Gruber wrote:

(...)

>> svn mkdir file:///<your path here>/tags/test
>> svn cp file:///<your path here>/trunk/hello.c \
>> file:///<your path here>/tags/test/hello.c
>
> Or, since you have ony 1 file in trunk:
>
> svn cp file:///<your_path_here>/trunk file:///<your_path_here>/tags/test
>
> This is how you create tags and branches.

you are -- of course -- right. But as the OP is new to svn and asked
stright for copying of a file (and not for tagging), I wanted to answer
his question directly thereby showing him, that in svn things should be
handled as in a filesystem :-)

Ciao,
Clemens.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 10 12:54:02 2007

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.