diff options
author | Tom Stellard <tstellar@redhat.com> | 2017-03-02 22:05:13 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2017-03-02 22:05:13 +0000 |
commit | 0e38d1f1c185f5e0b2d525f209d72a3f7ea0c01b (patch) | |
tree | fd62598da4926eacacaeab65f6344137a6a082bf /lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py | |
parent | d4b12b3348be90d90bbf946f94c1a3b068ed2163 (diff) | |
download | bcm5719-llvm-0e38d1f1c185f5e0b2d525f209d72a3f7ea0c01b.tar.gz bcm5719-llvm-0e38d1f1c185f5e0b2d525f209d72a3f7ea0c01b.zip |
CMake: Clean up VersionFromVCS.cmake
Summary:
Fix a few problems in VersionFromVCS.cmake to make it more reliable:
- Stop using git svn info to retrieve the svn revision. I am unable to
determine what the svn revision returned by this command means.
During my testing this command returned a revision from a month
ago which was not the HEAD of any of my local branches.
Also, this revision was never actually added to the version string due
to a typo in the script. All it was used for was to reject the
revision number returned by git svn find-rev HEAD when the revision
numbers didn't match.
- Populate GIT_COMMIT even when we detect a git repo without any
svn information.
Reviewers: mehdi_amini, beanz
Reviewed By: beanz
Subscribers: mgorny, llvm-commits
Differential Revision: https://reviews.llvm.org/D30092
llvm-svn: 296829
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py')
0 files changed, 0 insertions, 0 deletions