The svn version no. is change to .svn/wo.db file.
So, the "version" command showing no version no..
The wc.db seems to be a SQLite db file.
How to read the version no. from the db file ?
The version is never in .svn/entries file
Moderator: Moderators
-
- Developers
- Posts: 214
- Joined: 24 Nov 2010, 03:08
- Noob?: Yes
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: The version is never in .svn/entries file
We shouldn't manually read .svn dir. How about using output of `svn info --xml` instead?
-
- Developers
- Posts: 214
- Joined: 24 Nov 2010, 03:08
- Noob?: Yes
Re: The version is never in .svn/entries file
Do you mean we shouldn't read .svn dir in OpenKore program (Command.pm) ??EternalHarvest wrote:We shouldn't manually read .svn dir. How about using output of `svn info --xml` instead?
If it is true, should the "version" command in OpenKore be abandoned !!
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: The version is never in .svn/entries file
Command just outputs $Settings::versionText. It contains not only svn revision, why remove?
getSVNRevision should just use svn to determine revision, and not mess with svn's files.
getSVNRevision should just use svn to determine revision, and not mess with svn's files.