Login | Register
My pages Projects Community openCollabNet

Discussions > users > svn:ignore Issues in Windows Vista

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

tortoisesvn
Discussion topic

Hide all messages in topic

All messages in topic

Re: svn:ignore Issues in Windows Vista

Author kkolinko
Full name Konstantin Kolinko
Date 2009-01-09 15:56:47 PST
Message 2009/1/9 Jason Cavett <jason dot cavett at gmail dot com>:
> I'm referring to the /bin folder that is created by Eclipse (not
> Visual Studio). Basically, my folder structure is something like
> this...
>
> Project
> src
> bin
> resources
> lib
>
> Basically, I check in the top-level Project directory (because I want
> src, resources and lib to be included in SVN). The bin directory is
> created when the src is built in Eclipse. When I sync with the SVN
> server, Tortoise wants to add bin (since it is a newly created
> directory). However, I just tell it to ignore bin. This works in
> Windows XP, but does not appear to work in Vista.
>
> (...)
> I'm still having this issue. After seeing some other bug posts, I
> don't believe the issue is with svn:ignore. I instead think it has to
> do with how Vista handles (or doesn't handle) the overlay icons.
>
> Anybody else have any issues with Vistas overlay icons.
>

Please note, that Java Builder of Eclipse IDE sometimes confuses .svn
folders and files in them in your source folder as resources and
copies them into /bin. Thus, /bin becomes a nested working copy.

Because *.java files are not copied and are missing, its status is "modified".


Also, sometimes that "copy" is corrupted, because some files are
missing from the copied .svn folders, or were overwritten if the /bin
folder itself belongs to Subversion or if you have several source
folders.

I do not know, whether your Vista shows those .svn subfolders or not.
You can check the Subversion tab of the properties dialog for the /bin
folder, and Check for modifications dialog in TortoiseSVN.

It does not depend on the operating system, but on how lucky you are
and what actions you do perform. I think that there is a race
condition between the team plugin (Subclipse, Subversive - I observed
the problem with both of them) and the java builder. You are more
likely to see it after performing Import of Existing Project.

My current solution whenever I encounter it is to 1. Delete project
from the workspace, 2. Delete all files from /bin folder, or better
the folder itself, 3. Turn automatic compilation off, 4. Import
project, 5. Wait until all svn indexing completes. 6. Turn automatic
compilation on.


Best regards,
Konstantin Kolinko

Re: svn:ignore Issues in Windows Vista

Author Jason Cavett <jason dot cavett at gmail dot com>
Full name Jason Cavett <jason dot cavett at gmail dot com>
Date 2009-01-09 10:01:39 PST
Message On Dec 28 2008, 4:23 pm, Jason Cavett <jason.cav...@gmail.com> wrote:
> I'm having a problem that, from what I can tell, is only occurring in
> Vista.  (I have tried to reproduce this bug in Windows XP and I don't
> get the same issue.)
>
> Tortoise Version: TortoiseSVN 1.5.6, Build 14908 - 32 Bit , 2008/12/20
> 11:51:04
>
> What I Want To Have Happen: When I add a folder (specifically bin) to
> svn:ignore using the svn:ignore flags, the folder should be ignored.
>
> What is Actually Happening: In Windows Vista, the folder is showing
> the "changed" icon rather than the "ignored" icon.  If I try to check
> in the top-level project folder, I am told that there are no changes.
> However, if I try to check in the ignored folder (bin), I basically
> delete every file from my project tree (if I would complete the
> process).  As I said previously, this does not happen in XP.
>
> Thanks for any help.  Please let me know if you have any questions.
>
> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].

I'm still having this issue. After seeing some other bug posts, I
don't believe the issue is with svn:ignore. I instead think it has to
do with how Vista handles (or doesn't handle) the overlay icons.

Anybody else have any issues with Vistas overlay icons.

Re: svn:ignore Issues in Windows Vista

Author Jason Cavett <jason dot cavett at gmail dot com>
Full name Jason Cavett <jason dot cavett at gmail dot com>
Date 2008-12-29 09:11:44 PST
Message Hey Brendan,

I'm referring to the /bin folder that is created by Eclipse (not
Visual Studio). Basically, my folder structure is something like
this...

Project
  src
  bin
  resources
  lib

Basically, I check in the top-level Project directory (because I want
src, resources and lib to be included in SVN). The bin directory is
created when the src is built in Eclipse. When I sync with the SVN
server, Tortoise wants to add bin (since it is a newly created
directory). However, I just tell it to ignore bin. This works in
Windows XP, but does not appear to work in Vista.

I'm going to have to take a look at what Simon Large said, about there
being a nested working copy. (Have to wait until I can get back to my
laptop.)

On Dec 29, 12:00 pm, brendan <bkeyh...@gmail.com> wrote:
> G'day Jason,
>
> If you are talking about the 'bin' folder that is compiled in Visual
> Studio then there is no need to add that folder in the first place.
> When I added my soution to the SVN repository I first deleted all the
> "bin" and "obj" folders as they are recreated and over written every
> time you recompile your solution.  Also, you should not include the
> solutions ".suo" file.   This way you do not need to worry about
> setting SVN to ignore anything.
>
> CHeers,
> Brendan
>
> --------------------​--------------------​--------------http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@t​ortoisesvn.tigris.or​g].

Re: svn:ignore Issues in Windows Vista

Author brendan <bkeyhoe1 at gmail dot com>
Full name brendan <bkeyhoe1 at gmail dot com>
Date 2008-12-29 09:00:21 PST
Message G'day Jason,

If you are talking about the 'bin' folder that is compiled in Visual
Studio then there is no need to add that folder in the first place.
When I added my soution to the SVN repository I first deleted all the
"bin" and "obj" folders as they are recreated and over written every
time you recompile your solution. Also, you should not include the
solutions ".suo" file. This way you do not need to worry about
setting SVN to ignore anything.

CHeers,
Brendan

Re: svn:ignore Issues in Windows Vista

Author "Simon Large" <simon dot tortoisesvn at googlemail dot com>
Full name "Simon Large" <simon dot tortoisesvn at googlemail dot com>
Date 2008-12-28 16:13:37 PST
Message 2008/12/28 Jason Cavett <jason dot cavett at gmail dot com>:
> I'm having a problem that, from what I can tell, is only occurring in
> Vista. (I have tried to reproduce this bug in Windows XP and I don't
> get the same issue.)
>
> Tortoise Version: TortoiseSVN 1.5.6, Build 14908 - 32 Bit , 2008/12/20
> 11:51:04
>
> What I Want To Have Happen: When I add a folder (specifically bin) to
> svn:ignore using the svn:ignore flags, the folder should be ignored.
>
> What is Actually Happening: In Windows Vista, the folder is showing
> the "changed" icon rather than the "ignored" icon. If I try to check
> in the top-level project folder, I am told that there are no changes.
> However, if I try to check in the ignored folder (bin), I basically
> delete every file from my project tree (if I would complete the
> process). As I said previously, this does not happen in XP.

Sounds like your working copy is confused. Can you use the Check for
Modifications dialog on the parent folder and on the bin folder and
see if there is anything unexpected, like a nested working copy.

Simon

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

svn:ignore Issues in Windows Vista

Author Jason Cavett <jason dot cavett at gmail dot com>
Full name Jason Cavett <jason dot cavett at gmail dot com>
Date 2008-12-28 13:23:14 PST
Message I'm having a problem that, from what I can tell, is only occurring in
Vista. (I have tried to reproduce this bug in Windows XP and I don't
get the same issue.)

Tortoise Version: TortoiseSVN 1.5.6, Build 14908 - 32 Bit , 2008/12/20
11:51:04

What I Want To Have Happen: When I add a folder (specifically bin) to
svn:ignore using the svn:ignore flags, the folder should be ignored.

What is Actually Happening: In Windows Vista, the folder is showing
the "changed" icon rather than the "ignored" icon. If I try to check
in the top-level project folder, I am told that there are no changes.
However, if I try to check in the ignored folder (bin), I basically
delete every file from my project tree (if I would complete the
process). As I said previously, this does not happen in XP.


Thanks for any help. Please let me know if you have any questions.
Messages per page: