Header not marked as changed
-
- CodeLite Expert
- Posts: 176
- Joined: Sun Aug 17, 2008 2:45 pm
- Contact:
Header not marked as changed
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
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
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Header not marked as changed
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' ?frank_frl wrote:Changes in the source file are shown by icons but not for the header files
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
-
- CodeLite Expert
- Posts: 176
- Joined: Sun Aug 17, 2008 2:45 pm
- Contact:
Re: Header not marked as changed
Thats what I mean. 'Svn->Refresh Svn icons' doesn't help.Do you mean that when you modify a header file, it is not shown in the tree? have u tried 'Svn->Refresh Svn icons' ?
Header files are in the project.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)
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.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Header not marked as changed
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')
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
Code: Select all
svn status --xml --non-interactive --no-ignore -q "full/path/of/file/goes/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
-
- CodeLite Expert
- Posts: 176
- Joined: Sun Aug 17, 2008 2:45 pm
- Contact:
Re: Header not marked as changed
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>
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Header not marked as changed
Hi Frank,
I installed a local SVN server for testing pruposes, and create the following directory structure:
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
I installed a local SVN server for testing pruposes, and create the following directory structure:
Code: Select all
TestSVN
├───Debug
├───include
└───src
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
-
- CodeLite Expert
- Posts: 176
- Joined: Sun Aug 17, 2008 2:45 pm
- Contact:
Re: Header not marked as changed
Hi Eran,
here the structure on my local drive:
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.
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>
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.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Header not marked as changed
One more question: where is the project located? I mean under which directory?
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 176
- Joined: Sun Aug 17, 2008 2:45 pm
- Contact:
Re: Header not marked as changed
E:\WxWindows\projects_gnu\MyLibseranif wrote:One more question: where is the project located? I mean under which directory?
Eran
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Header not marked as changed
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:
After modifying the header file and refreshing the SVN icon:
I will try and build a special SVN plugin with logging capabilities that you can run and send me the output.
Eran
Here is my directory layout:
After modifying the header file and refreshing the SVN icon:
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