[Lazarus] Use of .lps files to avoid unnecessary changes to .lpi files

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Mon Oct 10 17:29:24 CEST 2011


Lukasz Sokol wrote:
> On 10/10/2011 09:42, Mattias Gaertner wrote:
>> On Mon, 10 Oct 2011 09:35:53 +0100
>> Lukasz Sokol <el.es.cr at gmail.com> wrote:
>>
>>> On 09/10/2011 22:57, Frank Church wrote:
>>>> I just read this blog article
>>>> http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus
>>>> about how Lazarus can store IDE settings in .lps files to stop
>>>> causing needless changes to the .lpi which messes up version
>>>> control.
>>>>
>>>> I was just about to ask about how to configure it and after doing
>>>> some Googling I saw this page -
>>>> http://forum.lazarus.freepascal.org/index.php?topic=9298.0, and guess
>>>> start the thread?
>>>>
>>>> Anyway I think it should be given further prominence as it is really
>>>> important for version control.
>>>>
>>>>
>>>> -- Frank Church
>>> +1, this was puzzling me too.
>> And how?
>>
>> Mattias
>>
> 
> By having to do 'last commit of the day' to SVN after closing Lazarus or opening
> another file for viewing.

I'm running svnversion in "Execute before", and have a minor niggle that 
the project invariably shows up as modified when I do the build. If I 
understand things correctly, having a separate .lps (not in VC) would 
fix this, in which case +1.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list