Header not marked as changed

Post here any ideas/problems/suggestions you have regarding CodeLite's Subversion (SVN) plugin
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Header not marked as changed

Post by frank_frl »

Hi Eran,

I have a project where the sources are in a sub folder 'scr' and the headers are in a sub folder 'include'. The whole structure is imported to the SVN repo.
Changes in the source file are shown by icons but not for the header files. Also a commit of the workspace only updates the source files in the repo. But when I make a diff on that header in the explorer tab, the differences are shown.

WinXp SP2 CodeLite rev. 2013

http://sourceforge.net/tracker/index.ph ... tid=979960

Regards,

Frank
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Header not marked as changed

Post by eranif »

frank_frl wrote:Changes in the source file are shown by icons but not for the header files
Can u explain this one? Do you mean that when you modify a header file, it is not shown in the tree? have u tried 'Svn->Refresh Svn icons' ?

Ok, after thinking of what you described here, I think that this is the solution:
Add the header files into the project - otherwise they wont be handled (from the 'workspace' tab)

When using the 'SVN' from the 'Workspace' tab, only files that are part of the workspace will be handled (including the .workspace & .project).
When using the 'SVN' from the 'Explorer' tab it works on actual directories.

Eran
Make sure you have read the HOW TO POST thread
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: Header not marked as changed

Post by frank_frl »

Do you mean that when you modify a header file, it is not shown in the tree? have u tried 'Svn->Refresh Svn icons' ?
Thats what I mean. 'Svn->Refresh Svn icons' doesn't help.
Ok, after thinking of what you described here, I think that this is the solution:
Add the header files into the project - otherwise they wont be handled (from the 'workspace' tab)
Header files are in the project.

The 2 images show my workspace. The second image shows it after adding a function to header and source.
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Header not marked as changed

Post by eranif »

Can u do this: copy the full path of one of the header files, (right click on the files' tab and select Copy Full Path To Clipboard')

Code: Select all

svn status --xml --non-interactive --no-ignore -q "full/path/of/file/goes/here"
And paste the output here?


Or better, is your code open source? if it does, a link to your repository would be great - so I can test it locally.

Eran
Make sure you have read the HOW TO POST thread
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: Header not marked as changed

Post by frank_frl »

Can u do this: copy the full path of one of the header files, (right click on the files' tab and select Copy Full Path To Clipboard')

Code: Select all

<?xml version="1.0"?>
<status>
<target
   path="E:\WxWindows\projects_gnu\MyLibs\include\frlconfig.h">
<entry
   path="E:\WxWindows\projects_gnu\MyLibs\include\frlconfig.h">
<wc-status
   props="none"
   item="modified"
   revision="73">
<commit
   revision="73">
<author>Frank</author>
<date>2008-08-22T08:51:00.859375Z</date>
</commit>
</wc-status>
</entry>
</target>
</status>
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Header not marked as changed

Post by eranif »

Hi Frank,

I installed a local SVN server for testing pruposes, and create the following directory structure:

Code: Select all

TestSVN
├───Debug
├───include
└───src
I placed some header files under include/ and the sources under src/ played with it a bit, and it all seems to works fine.
Can you please provide me with a directory structure of your project? (typing 'tree' command from the cmd.exe prints a nice layout)

Eran
Make sure you have read the HOW TO POST thread
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: Header not marked as changed

Post by frank_frl »

Hi Eran,

here the structure on my local drive:

Code: Select all

E:.
+---include
¦   +---wx
¦       +---treemultictrl
¦       +---wxFlatNotebook
+---lib
+---src
    +---des
    ¦   +---Debug
    ¦   +---Release
    +---flatnotebook
    ¦   +---Debug
    ¦   +---Release
    +---frlconfig
    ¦   +---Debug
    ¦   +---images
    ¦   +---Release
    +---httpengine
    ¦   +---Debug
    ¦   +---Release
    +---mycomps
    ¦   +---Debug
    ¦   +---Release
    ¦   +---res
    +---plotter
        +---Debug
        +---html
        +---Release
        +---res

E:\WxWindows\projects_gnu\MyLibs>
The image is the structure in SVN:

All files in the src folder work fine, but those in the include folder not that's very strange.
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Header not marked as changed

Post by eranif »

One more question: where is the project located? I mean under which directory?

Eran
Make sure you have read the HOW TO POST thread
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: Header not marked as changed

Post by frank_frl »

eranif wrote:One more question: where is the project located? I mean under which directory?

Eran
E:\WxWindows\projects_gnu\MyLibs
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Header not marked as changed

Post by eranif »

I tried to reproduce it, still with no luck, I tried to copy your SVN directory structure with no luck.

Here is my directory layout:
Image

After modifying the header file and refreshing the SVN icon:
Image

I will try and build a special SVN plugin with logging capabilities that you can run and send me the output.

Eran
Make sure you have read the HOW TO POST thread
Post Reply