You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Toralf Förster <to...@gmx.de> on 2005/02/03 13:40:35 UTC

question concerning the doc of subversion r12903

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

"$ 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 ?

Thanks for an answer


Sincerely
Toralf Förster


Re: question concerning the doc of subversion r12903

Posted by Benjamin Podszun <be...@galactic-tales.de>.
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