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

svn cp question

From: Andreas J. Koenig <andreas.koenig_at_anima.de>
Date: 2002-11-21 16:21:29 CET

When I read the help text for copy:

  % svn help cp
  copy (cp): Duplicate something in working copy or repos, remembering history.
  usage: svn copy SRC DST.

    SRC and DST can each be either a working copy (WC) path or URL:
      WC -> WC: copy and schedule for addition (with history)
      WC -> URL: immediately commit a copy of WC to URL
      URL -> WC: check out URL into WC, schedule for addition
      URL -> URL: complete server-side copy; used to branch & tag

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

but I'm not sure about this and find no answer in manpage or book.

Are they equivalent?

-- 
andreas
---------------------------------------------------------------------
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:23:12 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.