Posts: 309
Joined: Jan 2010
Reputation:
1
Hi,
I do not know if this is the best place to ask, but in the earlier days I used underneath command to get version (SVN). But now I changed to git. Unfortunately this does not work any more:
--prefix=$HOME/testing/$(svn info | grep -i revision | cut -d" " -f2)
Does anyone have a solution to this. I would like to see wether the update is an improvement/renewal of currect version and install besides a working version!
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
uhm, e.g. git log --format=oneline --abbrev-commit|cut -d" " -f1|head -n1
note that these won't sort nicely, so you may consider prepending a timestamp.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Yeah git does not use (counted) revisions from which you can say which one is newer (the higher revision in SVN). git uses SHA-1 hashes for every commit so there is no ordering possibility as every hash is independent of its position in history.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
There's a pull request on github (xbmc/xbmc) that has the code we'll be using on the buildbot to do this.
Cheers,
Jonathan
Posts: 1,256
Joined: Feb 2009
Reputation:
29
h.udo
Is a huge ABBA fan
Posts: 1,256
Thanks.
I actually had a sneak peak at it today, by chance. Looks good.
f**k..... started editing without sudo | M.K.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 309
Joined: Jan 2010
Reputation:
1
Can you meay be clearify what it does. Did not understand so much of it yet!