Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Re: Tortoise svn - how to chnage target repository

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Hide all messages in topic

All messages in topic

Re: Tortoise svn - how to chnage target repository

Author simonlarge
Full name Simon Large
Date 2011-02-04 12:34:34 PST
Message On 4 February 2011 14:03, Adam Kornicki <srolek2000 at yahoo dot com> wrote:
> I am replying by a browser form so I wasn't aware the text is not quoted.
>
> I guess you misunderstood me - I don't want to recreate a whole repository. What I did (in much simplification) was:
>
> 1. Make a new repository
> 2. Checked out, added and comited a project
> 3. Then decided to change the repository name and structure. Decided it would be easier to just delete it and create a new one.
> 4. I wanted to deply the same WC again on my new repository when the old one was already deleted. That's when I ran into problem

If you want to rename the repository itself, keeping the internal
structure intact:
TSVN->relocate

If you want to re-import an existing working copy into a new
repository, you first have to make it not be a working copy (sorry for
mangled English), then import it and check out again, or do an
in-place import (see the manual to understand how to do this.

> What I want to know is simply how to un-check a folder. Like I wrote before - let's assume I have checked out a wrong folder by mistake (maybe not even a programing folder) and want to un-check it totally from tortoise.

What do you mean by un-check? That's not a term anyone here is
familiar with. If you make up your own terminology you have to expect
people to misunderstand.

> I now only can do it by exporting, deleting and replacing - silly...

But this is a very infrequent operation. Subversion is all about long
term maintenance of a project, not creating one, destroying it and
creating it again. Why would we complicate the user interface by
adding support for something that would almost never be used?

The one place I can agree with you is the way Subversion handles
import, in that an imported folder structure does not become a working
copy, and as described in the subversion manual you have to import and
then checkout - yes, silly. What I describe as import-in-place is a
workaround, but it should really have better support in core
subversion. But again, import is something you do very rarely so there
is little incentive to spend time improving it when there are more
pressing matters to attend to.

Simon

--
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net

Re: Tortoise svn - how to chnage target repository

Author simonlarge
Full name Simon Large
Date 2011-02-04 12:22:52 PST
Message On 4 February 2011 19:50, Judson Wilson <judson@powerstan​dards.com> wrote:
> On 2/4/2011 11:38 AM, Bob Archer wrote:
>> Just export from the working copy and specify the target location as the current working copy. It will remove all the .svn folders and "unversion" the working copy.
> Does this require connection to the server?

No. Export is a WC-only operation.

> Does this preserve uncommitted changes in the working copy?

Yes. There is also an option (checkbox) to export unversioned files
within the same directory structure, although these are not included
by default.

> I was never 100% clear on these issues, so I did the manual .svn folders
> delete method.

Simon

--
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net

Re: Tortoise svn - how to chnage target repository

Author Judson Wilson <judson at powerstandards dot com>
Full name Judson Wilson <judson at powerstandards dot com>
Date 2011-02-04 11:50:34 PST
Message On 2/4/2011 11:38 AM, Bob Archer wrote:
> Just export from the working copy and specify the target location as the current working copy. It will remove all the .svn folders and "unversion" the working copy.
Does this require connection to the server?
Does this preserve uncommitted changes in the working copy?

I was never 100% clear on these issues, so I did the manual .svn folders
delete method.

RE: Tortoise svn - how to chnage target repository

Author pilotbob
Full name Bob Archer
Date 2011-02-04 11:38:08 PST
Message > > What I want to know is simply how to un-check a folder. Like I
> wrote before - let's assume I have checked out a wrong folder by
> mistake (maybe not even a programing folder) and want to un-check
> it totally from tortoise. I now only can do it by exporting,
> deleting and replacing - silly...
> >
> It sounds to me like what you really want to do is remove all the
> SVN
> info from your working copy without destroying it. This event is
> rarely
> needed, so most people don't do it, and it probably doesn't need to
> be
> built into TSVN. I believe that other methods were listed, but
> one
> method I use is the command line recursive delete. You can use
> "help
> del" to see how to use the delete command. I recommend creating a
> backup copy first, and then using some form of "del /S ".svn"" (I
> have
> not tested this, you will need to investigate yourself).

Actually, TSV does do this.. because people do want to do it often.

Just export from the working copy and specify the target location as the current working copy. It will remove all the .svn folders and "unversion" the working copy.

BOb

Re: Tortoise svn - how to chnage target repository

Author Judson Wilson <judson at powerstandards dot com>
Full name Judson Wilson <judson at powerstandards dot com>
Date 2011-02-04 09:02:00 PST
Message > What I want to know is simply how to un-check a folder. Like I wrote before - let's assume I have checked out a wrong folder by mistake (maybe not even a programing folder) and want to un-check it totally from tortoise. I now only can do it by exporting, deleting and replacing - silly...
>
It sounds to me like what you really want to do is remove all the SVN
info from your working copy without destroying it. This event is rarely
needed, so most people don't do it, and it probably doesn't need to be
built into TSVN. I believe that other methods were listed, but one
method I use is the command line recursive delete. You can use "help
del" to see how to use the delete command. I recommend creating a
backup copy first, and then using some form of "del /S ".svn"" (I have
not tested this, you will need to investigate yourself).

Re: Tortoise svn - how to chnage target repository

Author Dale McCoy <dalestan at gmail dot com>
Full name Dale McCoy <dalestan at gmail dot com>
Date 2011-02-04 07:17:04 PST
Message On Fri, Feb 4, 2011 at 09:03, Adam Kornicki <srolek2000 at yahoo dot com> wrote:
> I am replying by a browser form so I wasn't aware the text is not quoted.

But now you are aware that you need to manually quote. And yet you
aren't doing it. Please fix this.

> What I want to know is simply how to un-check a folder. Like I wrote before
> - let's assume I have checked out a wrong folder by mistake (maybe not even
> a programing folder) and want to un-check it totally from tortoise. I now
> only can do it by exporting, deleting and replacing - silly

If you have checked *out* a folder you did not intend to check *out*,
the easiest solution (assuming there are no local changes) is to
delete the existing working copy and check out a new WC with the code
you intended to check out.

If, on the other hand, you have checked *in* a folder you did not
intend to check *in*, then just TSVN->Delete it.

If you have done something else you did not intend to do, tell us what
you did using terms that are standard when discussing subversion.
(Also, tell us how TSVN's behaviour differs from a command-line
client's behaviour, so we know what TSVN is doing wrong.) The manual
is your friend.

Dale McCoy

Re: Tortoise svn - how to chnage target repository

Author steveking
Full name Stefan Küng
Date 2011-02-04 06:08:56 PST
Message On 04.02.2011 15:03, Adam Kornicki wrote:
> I am replying by a browser form so I wasn't aware the text is not quoted.
>
> I guess you misunderstood me - I don't want to recreate a whole repository. What I did (in much simplification) was:
>
> 1. Make a new repository
> 2. Checked out, added and comited a project
> 3. Then decided to change the repository name and structure. Decided it would be easier to just delete it and create a new one.
> 4. I wanted to deply the same WC again on my new repository when the old one was already deleted. That's when I ran into problem
>
> What I want to know is simply how to un-check a folder. Like I wrote before - let's assume I have checked out a wrong folder by mistake (maybe not even a programing folder) and want to un-check it totally from tortoise. I now only can do it by exporting, deleting and replacing - silly...

http://tortoisesvn.n​et/unversion.html

Stefan

--
        ___
   oo // \\ "De Chelonian Mobile"
  (_,\/ \_/ \ TortoiseSVN
    \ \_/_\_/> The coolest Interface to (Sub)Version Control
    /_/ \_\ http://tortoisesvn.net

Tortoise svn - how to chnage target repository

Author srd_pl
Full name Adam Kornicki
Date 2011-02-04 06:03:32 PST
Message I am replying by a browser form so I wasn't aware the text is not quoted.

I guess you misunderstood me - I don't want to recreate a whole repository. What I did (in much simplification) was:

1. Make a new repository
2. Checked out, added and comited a project
3. Then decided to change the repository name and structure. Decided it would be easier to just delete it and create a new one.
4. I wanted to deply the same WC again on my new repository when the old one was already deleted. That's when I ran into problem

What I want to know is simply how to un-check a folder. Like I wrote before - let's assume I have checked out a wrong folder by mistake (maybe not even a programing folder) and want to un-check it totally from tortoise. I now only can do it by exporting, deleting and replacing - silly...

just to remind - i am on windows 7

Re: Re: Tortoise svn - how to chnage target repository

Author simonlarge
Full name Simon Large
Date 2011-02-04 05:37:41 PST
Message On 4 February 2011 12:45, Adam Kornicki <srolek2000 at yahoo dot com> wrote:
> It was a new repository I created so I don't want to hide anything. The problem was that after I created the first one I then wanted to differ the whole structure and locations with a new name. I found it easier to just delete the previous one and create a new one. I didn't expect to run into such difficulties from the client side - seems quite ridiculous for such a easy operation... Any way I manged o achieve this, but it just surprises me that there is no simple and easy way to do it - once a folder is checked out I can't undo it anymore..

Please quote some context when replying on a mailing list, otherwise
no-one can see what you are talking about.

I think you need to find out what a revision control system does
before starting to use it. The repository keeps all your development
history, whereas the working copy reflects just the current snapshot.
Deleting a repository and re-creating it from a WC is just not a
normal operation that anyone would do, unless they want to discard the
entire history. Revision control is all about preserving history. It's
a bit like buying a new car and rebuking the salesman for not telling
you how to drive it off a cliff safely.

You still haven't told us what you wanted to achieve, only that you
deleted the repository and you expect it to be able to regenerate from
a working copy. If you really want to hide all history then you can
export the working copy to get a structure without any of the .svn
folders, then import it into a fresh repository. If you just want to
rename the files and folders then it is a lot easier to use
TSVN->Rename on the working copy.

Simon

--
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net

RE: Re: Tortoise svn - how to chnage target repository

Author srd_pl
Full name Adam Kornicki
Date 2011-02-04 05:27:06 PST
Message But is there a simpler way to un-check a folder with Tortoise svn? Supposing I have mistakenly checked the wrong folder - the only way to undo it is to export to a different directory, remove the old one, and replace with exported folder. It can't be that complex..

Re: Tortoise svn - how to chnage target repository

Author fsaphir
Full name Felix Saphir
Date 2011-02-04 05:19:19 PST
Message Am 04.02.2011 13:45, schrieb Adam Kornicki:
> It was a new repository I created so I don't want to hide anything.
> The problem was that after I created the first one I then wanted to
> differ the whole structure and locations with a new name. I found it
> easier to just delete the previous one and create a new one. I didn't
> expect to run into such difficulties from the client side - seems
> quite ridiculous for such a easy operation... Any way I manged o
> achieve this, but it just surprises me that there is no simple and
> easy way to do it - once a folder is checked out I can't undo it
> anymore..

Bottom line: That's the wrong way to do what you wanted to do. You can
either resort to the server side tools like svnadmin, svndump and the
like, or change the structure from the client with svn move etc.

Felix

RE: Re: Tortoise svn - how to chnage target repository

Author srd_pl
Full name Adam Kornicki
Date 2011-02-04 04:45:36 PST
Message It was a new repository I created so I don't want to hide anything. The problem was that after I created the first one I then wanted to differ the whole structure and locations with a new name. I found it easier to just delete the previous one and create a new one. I didn't expect to run into such difficulties from the client side - seems quite ridiculous for such a easy operation... Any way I manged o achieve this, but it just surprises me that there is no simple and easy way to do it - once a folder is checked out I can't undo it anymore..

Re: Tortoise svn - how to chnage target repository

Author simonlarge
Full name Simon Large
Date 2011-02-04 04:39:31 PST
Message On 4 February 2011 08:54, Adam Kornicki <srolek2000 at yahoo dot com> wrote:
> I have a problem - I have a repository using VisualSVN server. I have updated some project to the repository using tortoise svn as client. But then I deleted the repository form the server and wanted to make a new one. Unfortunately I don't know how I can change the target repository in Tortoise SVN. I tried using every option I get but I got an error usually saying that UUID doesn't match. How can I change the target repository? I even tried uninstalling Tortoise and deleting any files that can be related to that, but after installing again the folders are still 'attached' to the same old non-existing repository. Can any one help? I am using windows 7.

So you have deleted the repository and you want to re-attach a working
copy to a new empty repository. Why on earth would you want to do
that? Are you trying to hide the development history of your project
and make it look as if the final revision appeared instantly? Please
tell us what you are trying to achieve, otherwise we cannot help you.

Simon

--
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net

RE: Re: Tortoise svn - how to chnage target repository

Author srd_pl
Full name Adam Kornicki
Date 2011-02-04 03:36:15 PST
Message The problem is that my new repository is empty. The reload command didn't work at all. What I finally discovered is to export the folder to a new location, delete the old one and then check out again.. very very strange that this is the only way to do it...

Re: Tortoise svn - how to chnage target repository

Author fsaphir
Full name Felix Saphir
Date 2011-02-04 02:00:56 PST
Message Am 04.02.2011 09:54, schrieb Adam Kornicki:
> I have a problem - I have a repository using VisualSVN server. I have
> updated some project to the repository using tortoise svn as client.
> But then I deleted the repository form the server and wanted to make
> a new one. Unfortunately I don't know how I can change the target
> repository in Tortoise SVN. I tried using every option I get but I
> got an error usually saying that UUID doesn't match. How can I change
> the target repository? I even tried uninstalling Tortoise and
> deleting any files that can be related to that, but after installing
> again the folders are still 'attached' to the same old non-existing
> repository. Can any one help? I am using windows 7.

The repository UUID is stored inside the working copy, so it doesn't
matter if you reinstalled TortoiseSVN or not.

You can change the URL a working copy is "attached to" with the relocate
command, but as far as I know the new repository location must have a
different name.

In the worst case you'll have to get a fresh working copy from your new
repository.

Felix

Tortoise svn - how to chnage target repository

Author srd_pl
Full name Adam Kornicki
Date 2011-02-04 00:54:27 PST
Message I have a problem - I have a repository using VisualSVN server. I have updated some project to the repository using tortoise svn as client. But then I deleted the repository form the server and wanted to make a new one. Unfortunately I don't know how I can change the target repository in Tortoise SVN. I tried using every option I get but I got an error usually saying that UUID doesn't match. How can I change the target repository? I even tried uninstalling Tortoise and deleting any files that can be related to that, but after installing again the folders are still 'attached' to the same old non-existing repository. Can any one help? I am using windows 7.
Messages per page: