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

Re: Feature suggestion: relocation-helper

From: Rafael M. Heise <rmheise_at_gmail.com>
Date: Mon, 15 Aug 2011 08:05:29 -0700 (PDT)

I'm not sure about what you want. I don't understand exactly what you
are looking for Ulrich. But I'd like to say how I use to use
"relocate" and "switch".
Here where I work we decided to create a new branch for every new
issue in our product. When we want to release it we merge the branch
with the trunk and so we compile the project to all our customers.
Considering that, I normally have only one folder on my disk with the
current branch I'm working on. When I need to do something in another
branch, I use the switch command to change my working copy. I use
switch because I'm not changing the repository location. I'm just
changing the folder inside the same repository. For example, I change
my working copy from "branches\A" to "branches\B".
But a long time ago, we changed our repository location to a new
server. In that case I used the relocation command because I was
changing the URL of the repository. But in this case I don't need to
see the repo browser or anything else. Actually, as I'm changing the
repository location, I didn't have any references to that new
repository, so I can't use the history.

What I understood with your e-mail is you're changing a lot of working
copies, and, I guess, you have some reason to keep a lot of working
copies. Well, it seems you would like to use the history from your
first relocation to relocate all another working copies you have. So,
if I got you correctly, I'd to say that all history refers your
repository/working copy. And that's why you can't use the history from
another folder that you change the repository location. Well, in this
case the history really appears useless, but in my opinion, there is
nothing more useful to do, because as I said, all history refers your
repository/working copy.

Here I have two repositories and I can see exactly what I'm saying. If
I open the commit dialog for two different working copies that refers
different repositories, my recent messages are different for both
working copies.

Rafael M. Heise

On Aug 15, 6:59 am, Ulrich Eckhardt <ulrich.eckha..._at_dominolaser.com>
wrote:
> On Friday 12 August 2011, you wrote:
>
>
>
>
>
>
>
>
>
> > On 09.08.2011 12:24, Ulrich Eckhardt wrote:
> > > Hi!
>
> > > We have recently moved our SVN repos from foo.example.com to
> > > bar.example.net. I have several dozen working copies here, so I'm
> > > relocating a lot. I noticed two things:
>
> > > 1. The history is useless, since it always includes both the repository
> > > and the path inside the repository. This doesn't make sense to me, since
> > > the only thing I can change with a "switch --relocate" should be the
> > > repository URL but not the path inside the repository.
>
> > > 2. I get a button "..." there. The button opens a repository browser
> > > which stalls until it finds that the former server doesn't exist any
> > > more. Further, I believe it would offer me the path inside the
> > > repository as well which I believe isn't very useful, see above.
>
> > > What I would like is if the dialog offered just the repository URL and
> > > offered recently-used repository URLs as history. For extra bonus points
> > > you could offer just those as history than have the same UUID, but I
> > > don't think that many user have too many repositories there anyway. The
> > > button to open a repository browser is IMHO superfluous here and could
> > > be removed.
>
> > Using the TSVN repo as an example:
> > imagine someone had a working copy checked out from
> >http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/www
> > now that needed to be relocated to the new place:
> >https://tortoisesvn.googlecode.com/svn/trunk/www
>
> > As you can see, both 'trunk' and 'www' are folders inside the repository.
> > So we have to include paths inside a repository.
>
> No you don't:
>
>    svn relocate --switch \
>      http://tortoisesvn.tigris.org/svn\
>      https://tortoisesvn.googlecode.com/svn\
>       path/to/WC
>
> The path inside the repo that the WC references doesn't matter, you only want
> to inform the WC that the root of the repo changed location.
>
> > If you really only want the repository urls, then I guess you're one of
> > very very few who check out the whole repository, not just trunk or a
> > branch or even a subfolder.
>
> Sorry for the misunderstanding, but that's not what I meant. Quoting the SVN
> manpage:
>
>  | This is used when repository's root URL changes (such as a scheme
>  | or hostname change) but your working copy still reflects the same
>  | directory within the same repository.
>
> There are two points here:
> 1. The repo's root URL changes.
> 2. The directory within the repository doesn't.
>
> The relocate dialog offers both for change, but changing the path inside the
> repository is not useful and not even supported according to the manpage. For
> that reason, it should only offer that part of the URL for change that
> represents the repository root.
>
> Hope that clears it...
>
> Cheers!
>
> Uli
>
> --
> ML:http://tortoisesvn.tigris.org/list_etiquette.html
> FAQ:http://tortoisesvn.net/faq
>
> **************************************************************************************
> Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
> Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
> **************************************************************************************
> Visit our website athttp://www.dominolaser.com
> **************************************************************************************
> Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
> E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
> **************************************************************************************
>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2821152

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-15 17:05:31 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.