You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Dennis Forcier <dm...@gmail.com> on 2009/01/05 21:36:45 UTC
Any way to re-map working copy?
Repository is set up as
/repositories
- /proj_X
- - /trunk
- - /branches
- - /tags
- /proj_Y
- - /... etc
I had a monolithic Eclipse project in proj_X which in Eclipse I've split up
into three, and renamed the original. All three Eclipse projects will
continue to reside in repository proj_X/trunk. Several questions regarding
how to deal with this in Subclipse/SVN.
First, I created a new project that wasn't "shared" and copied in all the
code for it. Then I did Team.Share on the new project, established a folder
in the root of proj_X for it and committed all elements. Unfortunately it
should have been established in proj_X/trunk. In the SVN Repository
Explorer perspective I moved the project from root to trunk. Now I want to
commit some changes but can't use commit because the folder the project is
mapped to isn't there any more. How do I tell it to commit to the different
location, or re-map it? I tried Branch/tag but it errors because it wants to
establish a new folder and there is already one there.
Second, on the renamed project it is still mapped to the old folder. In
Eclipse Package Explorer I see for the project title New Name [trunk\Old
Name] and commit shows that it is still mapped to the non-existent folder.
If I use Move/Rename on the old folder in the SVN Repository Explorer
perspective, it seems I'll have the same trouble as the first since the
mapped folder won't be there any more.
I'm the only user on the repository.
--
Dennis
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1006098
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Any way to re-map working copy?
Posted by mayonesa <ma...@gmail.com>.
it may be a bug cuz i can't get it to work for me either but in subclipse.
as a workaround, i choose copy from head as opposed to working copy. then i
ck on switch to new branch/tag. then after all is said and done, i commit.
Dennis Forcier-2 wrote:
>
> Okay, this is getting confusing. Is this a bug?
>
> I'm trying to create a tag from my working copy of proj_X/trunk/server.
> In
> Team I select Branches/Tags... enter the URL 'proj_X/tags/serverTag',
> select
> 'Create copy in the repository from: Working Copy', select 'Switch working
> copy to new branch/tag', and I get this:
>
> copy D:/workspaces/server https://x.y.x:8443/svn/proj_X/tags/serverTag
> Adding D:/workspaces/server
> Adding D:/workspaces/server/.classpath
> Adding D:/workspaces/server/.project
> ...
> Adding D:/workspaces/server/src
> Adding D:/workspaces/server/src/com/Class.java
> RA layer file already exists
> svn: Commit failed (details follow):
> svn: File '/svn/proj_X/tags/serverTag/src/com/Class.java' already exists
>
> It does? It wasn't in the list of what was previously added to serverTag.
> After the error I go into SVN Repository Explorer and refresh, but there
> is
> nothing in the tag folder.
>
> What??
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1006182
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe@subversion.tigris.org].
>
--
View this message in context: http://www.nabble.com/Any-way-to-re-map-working-copy--tp21309994p22403934.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1292099
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Any way to re-map working copy?
Posted by Dennis Forcier <dm...@gmail.com>.
Okay, this is getting confusing. Is this a bug?
I'm trying to create a tag from my working copy of proj_X/trunk/server. In
Team I select Branches/Tags... enter the URL 'proj_X/tags/serverTag', select
'Create copy in the repository from: Working Copy', select 'Switch working
copy to new branch/tag', and I get this:
copy D:/workspaces/server https://x.y.x:8443/svn/proj_X/tags/serverTag
Adding D:/workspaces/server
Adding D:/workspaces/server/.classpath
Adding D:/workspaces/server/.project
...
Adding D:/workspaces/server/src
Adding D:/workspaces/server/src/com/Class.java
RA layer file already exists
svn: Commit failed (details follow):
svn: File '/svn/proj_X/tags/serverTag/src/com/Class.java' already exists
It does? It wasn't in the list of what was previously added to serverTag.
After the error I go into SVN Repository Explorer and refresh, but there is
nothing in the tag folder.
What??
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1006182
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].