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

Re: question concerning the doc of subversion r12903

From: Benjamin Podszun <ben_at_galactic-tales.de>
Date: 2005-02-03 14:54:44 CET

Toralf Förster wrote:
> You wrote in the documantation of subversion
> file:///home/tfoerste/trunk/doc/book/book/svn-book.html#svn-ch-4-sect-7.2 :

file:/// ? ;-)

> "$ svn copy -r 374
> http://svn.example.com/repos/calc/branches/my-calc-branch \
> http://svn.example.com/repos/calc/branches/my-calc-branch
>
> Committed revision 376."
>
> My question:
> Is it correct that the source (SRC) of the svn copy command is exactly
> the same as teh destination (DST) of the command ?

Without looking at the book: This command copies revision 374 to head..
Looking at the output (Committed revision 376) this seems to demonstrate
how you "undo" a change:
You are at 375 and made a mistake. This command restores the state of
the repository before your last commit.
So yes, this is a perfectly correct command. Not sure if it does what
you want, though.

Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 3 14:57:06 2005

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.