You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Hardi Gunawan <ha...@yahoo.com> on 2004/07/21 07:10:35 UTC

svn copy 2 working url and svn copy 2 working copy

The result of:

svn copy trunk/MyApp tags/MyApp_1.0
svn ci -m "Tagged MyApp to 1.0"

and

svn copy https://localhost/repos/trunk/MyApp
https://localhost/repos/tags/MyApp_1.0 -m "Tagged
MyApp to 1.0"

is different.  I verified it using:

svn diff https://localhost/repos/trunk/MyApp
https://localhost/repos/tags/MyApp_1.0

I'm using Subversion 1.1.0 (9918).

Is it my mistake or...?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn copy 2 working url and svn copy 2 working copy

Posted by Ben Collins-Sussman <su...@collab.net>.
On Wed, 2004-07-21 at 02:10, Hardi Gunawan wrote:
> The result of:
> 
> svn copy trunk/MyApp tags/MyApp_1.0
> svn ci -m "Tagged MyApp to 1.0"

If your working copy of trunk/MyApp is a collection of mixed revisions
(which it likely is), then this will be different than

> svn copy https://localhost/repos/trunk/MyApp
> https://localhost/repos/tags/MyApp_1.0 -m "Tagged
> MyApp to 1.0"

...which copies an "all HEAD" version of trunk/MyApp.

So yes, it's quite possible that you'll get different results.

If you run 'svn up' on your working copy, so the whole working copy is
at HEAD, then the results should be the same.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org