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

Re: Bug Report - 'SVN Update' on multiple folders may causes problems.

From: Manu <turkeyman_at_gmail.com>
Date: Thu, 1 Jan 2009 00:49:41 -0800 (PST)

Thanks for the fast reply.

As far as i could tell, my repositories do actually have separate
id's.
I didn't configure the server myself. I'm using dreamhost who provide
an svn service.
When I create a repository it offers me a box to specify an id, and
the id's I entered are unique.

My 2 repositories of interest from my prior example:
http://feedback.dreamhosters.com/feedbacksvn/ (ID: "feedbacksvn")
http://fuji.dreamhosters.com/fujisvn/ (ID: "fujisvn")

The IDs shown are according to dreamhost's configuration tool; the
id's i entered when creating the repository.
I can provide a screenshot if it helps.

Is there perhaps another ID that dreamhost don't expost in their
configuration tool?
When you say 'UUID', do you mean a big long GUID style id? I haven't
seen anything like that in the configuration...
Perhaps i should take this up with them?

Thanks again,
- Manu

On Jan 1, 6:14 pm, Stefan Kueng <tortoise..._at_gmail.com> wrote:
> Manu wrote:
> > Perhaps this can be considered stupidity, but windows nor SVN deny
> > this possibility, so i'll consider it a dangerous bug.
>
> > Imagine this folder structure, containing svn repositories as
> > described:
> > Projects/
> >  |- Repo1/ -> (http://www.repository-1.com/sub-repo-1/)
> >  |- Repo2/ -> (http://www.repository-1.com/sub-repo-2/)
> >  |- Repo3/ -> (http://www.repository-2.com/sub-repo-1/)
> >  |- Repo4/ -> (http://www.repository-2.com/sub-repo-2/)
>
> > Notice that Repo1-2 refer tohttp://www.repository-1.com, and Repo3-4
> > refer tohttp://www.repository-2.com.
> > Repo1-2 obviously share HEAD revision number, as do Repo3-4.
> > I want to update my code, so I select all 4 folders, right click ->
> > SVN Update.
> > What happens is, SVN Update is performed on all four folders using the
> > HEAD revision number from the *first folder only*.
>
> TortoiseSVN updates all selected items to the same revision, but ONLY if
>  all repository uuids are the same.
> TSVN does this to avoid a race condition: if it would update all to HEAD
> and they're all from the same repository, they could end up with
> different revisions if someone else does a commit between updating e.g.,
> * update folder1 to HEAD (100)
> * user2 commits to repository
> * update folder2 to HEAD (101)
>
> If TortoiseSVN updates all your selected items to the HEAD revision of
> the first selected item but those items are not from the same
> repository, then your repositories are set up wrong: they all have the
> same uuid which is NOT what they should have!
> (it's called an uuid for a reason).
>
> Please fix your repositories so that all have a real uuid (a UNIQUE id).
>
> Stefan
>
> --
>        ___
>   oo  // \\      "De Chelonian Mobile"
>  (_,\/ \_/ \     TortoiseSVN
>    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>    /_/   \_\    http://tortoisesvn.net
>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].
>
>  signature.asc
> < 1KViewDownload

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-01 09:50:19 CET

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