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

Re: svn cp question

From: Rafael Garcia-Suarez <raphel.garcia-suarez_at_hexaflux.com>
Date: 2002-11-21 16:40:10 CET

andreas.koenig@anima.de (Andreas J. Koenig) wrote:
> I would believe that
>
> svn copy trunk tags/FOO
> svn -m '' commit
> rm -rf tags/FOO
>
> is equivalent to
>
> svn copy http://.../trunk http://.../tags/FOO

The URL form of svn copy requires a log message as well.

> but I'm not sure about this and find no answer in manpage or book.
>
> Are they equivalent?

Yes (assuming the dots represent the same path in your svn copy
command-line).

The URL form works without a working copy.
It's usually preferable not to checkout a working copy that contains
the trunk/ and tags/ directories, if you want to spare disk space
or to switch your entire working copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 21 16:44:56 2002

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

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