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

Re: Moving stuff from one place to another...

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Fri, 27 Jun 2008 11:59:32 +0100

2008/6/27 Yimin Rong <yiminrong_at_yahoo.ca>:
> On Jun 27, 4:28 am, "Simon Large" <simon.tortoise..._at_googlemail.com>
> wrote:
>> 2008/6/26 Yimin Rong <yiminr..._at_yahoo.ca>:
>>
>> > Before:
>>
>> > svn://serverx/client/projects/main/subproject1 -- existing project I
>> > want to move
>> > svn://serverx/client/projects/main/subproject2 -- existing project I
>> > want to move
>>
>> > Turns out subproject1 and subproject2 apply to all clients. Would like
>> > to move them to an applications place:
>>
>> > svn://serverx/applications/main/project1 -- existing project I don't
>> > want to lose
>>
>
> YR - This is how I would like it to look ...
>> > After:
>
>>
>> > svn://serverx/client/projects/ -- subproject1 and subproject2 are
>> > gone! YR - this is what I want to see
>>
>> > svn://serverx/applications/main/project1
>> > svn://serverx/applications/main/subproject1 -- here it is! YR - here is where it should be!
>> > svn://serverx/applications/main/subproject2 -- and here too! YR - as above
>>
>> Um, isn't that exactly what you said you wanted? 'Move' implies
>> removing from location X and reappearing at location Y.
>
> YR - Yes, that is what I want to do, but I can't do it.
>
>>
>> > I'd like to retain the complete revision histories of subproject1 and
>> > subproject2.
>>
>> And did it not retain that history? You haven't told us how you moved
>> them, so how can we tell what the result is?
>
> YR - I haven't been able to move them. That's why I am asking. But I'm
> not sure if I even have the terminology correct.
>
>>
>> > What is this action called? Am I moving repositories, moving
>> > histories, moving projects? I thought I was moving repositories, but
>> > someone at work said that's not what I want to do.
>>
>> Again, you haven't told us your repository structure, so how can we
>> possibly know that without a crystal ball?
>>
>
> YR - What is repository structure? Like a complete file listing? I
> want to get the terminology correct. All I see are folders and files.
>
>> > Do I use svnadmin? It says it should have been installed with
>> > TortoiseSVN but I'm not seeing it.
>>
>> Wherever did you read that? svnadmin is not part of TortoiseSVN.
>
> YR - Not sure now, remember reading it in a few places. Google:
> svnadmin tortoisesvn
>
>>
>> > I tried to search for a place to
>> > download it but I'm getting all kinds of stuff about compiling Python
>> > and whatever.
>>
>> Look on the subversion website (subversion.tigris.org), try the download page.
>
> YR - That's one place I saw. The matches for svnadmin search have
> WARNING repeated seven times. I get the message, don't go here.
>
>>
>> > Way over my head! I have a feeling I could do a lot of
>> > damage with this. I already have to do everything twice in TortoiseSVN
>> > because I think I need something but end up doing something else.
>> > There's one warning about relocating or switching or something, it
>> > tells me, you really want to do the other thing!
>>
>> > I just want to reorganize some projects. Why is this so difficult? It
>> > would seem to be an elementary operation. I don't think I'm inventing
>> > this.
>>
>> It's not difficult, but you need to understand the basics of version
>> control. Reading the manuals is always a good start.
>
> YR - Did read it. I thought the section "Copying/Moving/Renaming Files
> and Folders" would have what I need. Tried every option in the right
> drag menu that might make sense, not one worked. Crazy errors
> sometimes. The section "Deleting, Moving and Renaming" is just scary
> poorly written. Nearly every paragraph starts with "If you want to..."
> - very intimidating for a novice - and so many warnings and notes. A
> user manual should be focused on how-to-use, not what-it-does.

/me going for coffee break

OK, what I suggest you do is use the repository browser to look at the
structure of your repository. Right click on one of these working
copies and select Repo Browser. Expand the nodes as needed so that you
can see the projects you want to move, and the place you want to move
them to.

If you can't do that then chances are that these projects are not in
the same repository. You cannot easily move folders from one
repository to another. It can be done using svnadmin and using a
dump/load cycle, but on what I would recommend leaving that to your
repository administrator.

However, if you can see both source and destination, just left drag
the source folder to the destination folder, eg drag
svn://serverx/client/projects/main/subproject1 and drop it onto
svn://serverx/applications/main. You will be prompted to enter a log
message and commit the change.

Simon

-- 
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-06-27 12:59:44 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.