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

how to update a file's copy in another directory

From: <pmarek_at_users.sourceforge.net>
Date: 2003-10-16 14:44:06 CEST

Hello everybody,

I'd like to know how to handle the following case.
(But beware: I'm still using 0.25, and this may be the problem)

I have a file in several versions, and I needed a copy of an older version in
another directory.
So I did a "svn cp -r OLD URL/file newdir" - so "svn log -v" shows
        A file (from olddir/file).

So far, so good.

But now I've come to the conclusion that I need another version of this file
in the new directory.
- "svn cp" as above says "item exists" (which it does - cp is an add with
history)
- "svn up" says that this element didn't exist in that revision (which is
correct, too - since the secondary directory was created some revisions
later)
- "svn co -r olddir/file file" (standing in new-dir) says "obstructed update"
and "'' is already a wc for a different url"

So, what can I do??

I did checkout this file to a completly different wc and just copied the file
in the new-dir.
But that is not the best way - since the same data is already present in the
db...

But maybe that just a problem of 0.25??

Thanks for all answers!!!

Regards,

P.Marek

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 16 14:45:56 2003

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.