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

Re: [Subclipse-users] [subclipse-users] .rej files always ignored

From: sebb <sebbaz_at_gmail.com>
Date: 2007-07-03 02:40:53 CEST

On 02/07/07, Mark Phippard <markphip@gmail.com> wrote:
> On 7/2/07, sebb <sebbaz@gmail.com> wrote:
> > I'd like to be able to see when patch reject files get created, but no
> > matter what I do, I cannot get Subclipse to show *.rej files.
> >
> > I've tried unchecking the *.rej entry in Preferences/Team/Ignored Resources.
> >
> > I even tried deleting the entry, but it re-appears when Eclipse is restarted.
> >
> > The file Subversion properties show as
> >
> > Ignored: true
> > Managed: false
> > Switched: false
> >
> > Status: ignored
> >
> > If I create a .REJ file or a .rej1 file, these are both correctly picked up.
> >
> > Does anyone know what is going on here?
>
> It is possible that Subversion also auto-ignores them, but it is news
> to me if this is the case. I do think there are scenarios where
> Subversion creates files of this name, so it is possible that would be
> why it ignores them.

You've hit the nail on the head.

I just tried creating the file test.java.rej in a new SVN directory.

The file was ignored.

I then checked $HOME/.subversion/config, and noticed that it has an entry:

# [miscellany]
...
# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store

Even though the line is commented out, these seem to be active by default.

So I tried enabling the line, but removing the *.rej entry, and this
caused the svn command-line client to start recognising the .rej
files.

I then tried the same config edit with Eclipse, and eventually got
fred.rej and fred.java.rej to be recognised, though I also had to play
with the Eclipse settings.

I then put the config back to what it was, and in spite of restarting
Eclipse a few times, Eclipse recognises the rej files.

However, I then created some more rej files, and they did not appear
in the synch history.
So I checked the ignored resources dialogue - *.rej was still
deselected - so I pressed apply - and all the rej files are now
ignored, even though *.rej is deselected.

Eclipse is now back to as it was before.

So it looks like the global config file needs to be editted so that
Subclipse can properly handle .rej files.

Furthermore, even if the two agree, it looks like Subclipse caches the
ignored status of .rej files somewehere in a file - I had to create a
new .rej file in order to get Subclipse to re-recognise the existing
.rej files once Subclipse had auto-ignored them.

Hopefully now I have updated both the config and the Team dialogue the
.rej files will continue to appear as non-ignored resources.

S.
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Jul 3 02:40:43 2007

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

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