Recent

Author Topic: Revision number in IDE main window caption  (Read 8763 times)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4467
  • I like bugs.
Re: Revision number in IDE main window caption
« Reply #15 on: August 26, 2018, 03:06:30 pm »
The M stands for "modified" and is an svn feature. It indicates that the revision is only a modification.
E.g. if you check out a release and run svnversion, there is no M, if you check out trunk you will usually get an M unless it was just branched.
No, M means there are local modifications in addition to the code from Subversion.
Run "svn revert -R ." and the M goes away.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

zoltanleo

  • Sr. Member
  • ****
  • Posts: 488
Re: Revision number in designer caption
« Reply #16 on: August 26, 2018, 09:34:37 pm »
zoltanleo, you forgot to check for 'Unknown' value.
Because I didn't know about it. :-X

The IDE can be compiled with any FPC version, there is no relation between those 2.
You are absolutely right. I have lost sight of this nuance

You cannot do even "svn up" then, can you? The .svn folder of Lazarus repo takes 12 MB here. HDs today have hundreds of GB.
OMG. It will seem strange. But I for some reason considered that .svn folder occupies about 1 Gb. I cruelly was mistaken  :D

Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

wp

  • Hero Member
  • *****
  • Posts: 11906
Re: Revision number in designer caption
« Reply #17 on: August 26, 2018, 11:15:32 pm »
The .svn folder of Lazarus repo takes 12 MB here.
Really? Mine has 400 MB. (Still no problem for the HD, though).

Bart

  • Hero Member
  • *****
  • Posts: 5288
    • Bart en Mariska's Webstek
Re: Revision number in designer caption
« Reply #18 on: August 26, 2018, 11:22:39 pm »
The .svn folder of Lazarus repo takes 12 MB here.
Really? Mine has 400 MB. (Still no problem for the HD, though).

1.17 GB here ...

Bart

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4467
  • I like bugs.
Re: Revision number in designer caption
« Reply #19 on: August 27, 2018, 12:03:04 am »
OMG. It will seem strange. But I for some reason considered that .svn folder occupies about 1 Gb. I cruelly was mistaken  :D
Sorry, my bad. I failed to see the subdirectory sizes under .svn. The actual size here is about half a GB. Maybe it grows when you modify and update often.
I don't use it much for development, I use Git instead.

Interestingly, the .git directory of Lazarus Git repo got by git-svn link is smaller. It is a little over 100 MB although it contains all the commit history since 2015. In a mirror with full history it is over 300 MB, still way smaller than the .svn dir.
Wow!
It means Git can be recommended when HD size is of concern.
« Last Edit: August 27, 2018, 12:09:16 am by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018