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

Re: TortoiseSVN falls out of step with repository

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Thu, 20 Aug 2009 09:46:28 +0100

2009/8/19 Petr Fejfar <petr.fejfar_at_gmail.com>:
> On Wed, Aug 19, 2009 at 6:57 PM, Stefan Küng<tortoisesvn_at_gmail.com> wrote:
>
>> Did you maybe move versioned folders around in explorer without using
>> the 'rename' command from the TSVN submenu and/or the right-drag
>> feature?
>
> I'm not sure what exact operations are behind Eclipse's Package Explorer.
> But I did not move folders. Here is a summary of steps/behaviors:
>
> - I created new folders by Eclipse and copied and/or created files
> into those folders
> - I deleted some versioned folders containing files by Eclipse

If you are using Eclipse you should consider using Subclipse instead
of TortoiseSVN as it integrates better with Eclipse. From what I
understand Eclipse moves files and folders around and can mess up the
.svn metadata folder, which would indeed result in very strange things
happening.

Or you could try a newer version of Eclipse, or ask this question on
the Eclipse mailing list.

> - Finally I switched into TortoiseSVN and issued Commit command
> - In commit summary dialog, all new folders and files have been shown
> as non-versioned
> - all deleted folders have been shown as missing
> - I selected all those folders & filles and confirmed commit.
> - TortoiseSVN performed commit and reported as completed with no errors
> - TortoiseSVN showed all those files as up-to-date with green mark
>   and reports no pending modifications
> - In the action log, there are no records about adding non-version folders
> - In action log, there are records about modified / content sending of
>  non-versioned files within those non-versioned folders, which
>  actually goes to non-existing folders in the repository
> - As a result, newly added folders with files are missing in the
> repository at all
>
>> Remember: each versioned folder is independent and can point to any url
>> in the repository. If you then do a commit, the commit goes to the url
>> the folder is attached to, not necessarily to what you think it should
>> (in case you moved the folder).
>
> If my understanding is correct, you mean that each folder keeps related
> information in the local .svn folder. But I did not move any folder
> and perhaps Eclips'e
> explorer did not as well.
>
> BTW, did you try to create a new folder with new files out of Windows
> explorer and
> issue commit command without adding folder & files explicitelly and
> let TortoiseSVN
> to add non-versioned folders and files in the single step from commit
> summary dialog?
>
>
> Thanx for you help, Petr

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2385535
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-20 10:46:58 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.