You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by CatharsisJelly <co...@catharsis.co.uk> on 2009/05/06 14:15:41 UTC

svn copy WC->URL

Hi all,

I have a locally checked out version of the code that I want to 'tag' by
making a copy, from the WC directory I do the following

      $ svn copy -m 'Test copy of working copy' ./
https://my.svn/project/tags/release-1.3.1
      svn: Commit failed (details follow):
      svn: File
'/project/tags/release-1.3.1/html/intranet/CRUD_Events.class.php' already
exists

As you can see it tells me a file already exists, however I know this is not
true, even svn ls confirms this

      $ svn ls https://my.svn/project/tags/release-1.3.1
      svn: URL 'https://my.svn/project/tags/release-1.3.1' non-existent in
that revision

So what am I doing wrong?
Regards,
- Chris
-- 
View this message in context: http://www.nabble.com/svn-copy-WC-%3EURL-tp23407584p23407584.html
Sent from the Subversion Users mailing list archive at Nabble.com.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2081051

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: svn copy WC->URL

Posted by Bob Archer <Bo...@infor.com>.
>       $ svn copy -m 'Test copy of working copy' ./
> https://my.svn/project/tags/release-1.3.1
>       svn: Commit failed (details follow):
>       svn: File
> '/project/tags/release-1.3.1/html/intranet/CRUD_Events.class.php' already
> exists
> 
> As you can see it tells me a file already exists, however I know this is
> not
> true, even svn ls confirms this
> 
>       $ svn ls https://my.svn/project/tags/release-1.3.1
>       svn: URL 'https://my.svn/project/tags/release-1.3.1' non-existent in
> that revision

Have you tried to do an update? I'm pretty sure ls will only list what is in the rev of your WC.

Or try

Svn ls https://my.svn/project/tags/release-1.3.1 -r HEAD

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2081374

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].